We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04e6fc commit 6913015Copy full SHA for 6913015
programs/drift/src/instructions/user.rs
@@ -653,7 +653,7 @@ pub fn handle_deposit<'c: 'info, 'info>(
653
} else {
654
DepositExplanation::None
655
};
656
- let signer = if ctx.accounts.authority.key() == user.authority {
+ let signer = if ctx.accounts.authority.key() != user.authority {
657
Some(ctx.accounts.authority.key())
658
659
None
0 commit comments