Skip to content

Commit d4288fa

Browse files
authored
program: tweak ResizeSignedMsgUserOrders (#1898)
1 parent fb9a876 commit d4288fa

File tree

1 file changed

+3
-0
lines changed
  • programs/drift/src/instructions

1 file changed

+3
-0
lines changed

programs/drift/src/instructions/user.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4008,6 +4008,9 @@ pub struct ResizeSignedMsgUserOrders<'info> {
40084008
pub signed_msg_user_orders: Box<Account<'info, SignedMsgUserOrders>>,
40094009
/// CHECK: authority
40104010
pub authority: AccountInfo<'info>,
4011+
#[account(
4012+
has_one = authority
4013+
)]
40114014
pub user: AccountLoader<'info, User>,
40124015
#[account(mut)]
40134016
pub payer: Signer<'info>,

0 commit comments

Comments
 (0)