Skip to content

Commit 89d7880

Browse files
committed
add signer to deposit record
1 parent a21a4cd commit 89d7880

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

programs/drift/src/controller/isolated_position.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ pub fn deposit_into_isolated_perp_position<'c: 'info, 'info>(
145145
market_index: spot_market_index,
146146
explanation: DepositExplanation::None,
147147
transfer_user: None,
148+
signer: None,
148149
};
149150

150151
emit!(deposit_record);
@@ -409,6 +410,7 @@ pub fn withdraw_from_isolated_perp_position<'c: 'info, 'info>(
409410
total_withdraws_after: user.total_withdraws,
410411
explanation: DepositExplanation::None,
411412
transfer_user: None,
413+
signer: None,
412414
};
413415
emit!(deposit_record);
414416

0 commit comments

Comments
 (0)