@@ -97,7 +97,7 @@ pub struct CheckedCustodian<'info> {
97
97
seeds = [ Custodian :: SEED_PREFIX ] ,
98
98
bump = Custodian :: BUMP ,
99
99
) ]
100
- pub custodian : Account < ' info , Custodian > ,
100
+ pub custodian : Box < Account < ' info , Custodian > > ,
101
101
}
102
102
103
103
impl < ' info > Deref for CheckedCustodian < ' info > {
@@ -138,7 +138,7 @@ pub struct OwnerOnlyMut<'info> {
138
138
seeds = [ Custodian :: SEED_PREFIX ] ,
139
139
bump = Custodian :: BUMP ,
140
140
) ]
141
- pub custodian : Account < ' info , Custodian > ,
141
+ pub custodian : Box < Account < ' info , Custodian > > ,
142
142
}
143
143
144
144
#[ derive( Accounts ) ]
@@ -171,7 +171,7 @@ pub struct AdminMut<'info> {
171
171
seeds = [ Custodian :: SEED_PREFIX ] ,
172
172
bump = Custodian :: BUMP ,
173
173
) ]
174
- pub custodian : Account < ' info , Custodian > ,
174
+ pub custodian : Box < Account < ' info , Custodian > > ,
175
175
}
176
176
177
177
#[ derive( Accounts ) ]
@@ -195,7 +195,7 @@ pub struct LocalTokenRouter<'info> {
195
195
associated_token:: mint = common:: USDC_MINT ,
196
196
associated_token:: authority = token_router_emitter,
197
197
) ]
198
- pub token_router_mint_recipient : Account < ' info , token:: TokenAccount > ,
198
+ pub token_router_mint_recipient : Box < Account < ' info , token:: TokenAccount > > ,
199
199
}
200
200
201
201
#[ derive( Accounts ) ]
@@ -208,7 +208,7 @@ pub struct ExistingMutRouterEndpoint<'info> {
208
208
] ,
209
209
bump = endpoint. bump,
210
210
) ]
211
- pub endpoint : Account < ' info , RouterEndpoint > ,
211
+ pub endpoint : Box < Account < ' info , RouterEndpoint > > ,
212
212
}
213
213
214
214
impl < ' info > Deref for ExistingMutRouterEndpoint < ' info > {
@@ -644,7 +644,7 @@ pub struct ReserveFastFillSequence<'info> {
644
644
// This check makes sure that the auction account did not exist before this
645
645
// instruction was called.
646
646
require!(
647
- auction. vaa_hash == [ 0 ; 32 ] ,
647
+ auction. vaa_hash == < [ u8 ; 32 ] > :: default ( ) ,
648
648
MatchingEngineError :: AuctionExists ,
649
649
) ;
650
650
0 commit comments