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 93c42fe commit 18c4e13Copy full SHA for 18c4e13
program/src/processor.rs
@@ -1682,8 +1682,7 @@ impl Processor {
1682
1683
let self_transfer = source_account_info.key == destination_account_info.key;
1684
if let Ok(cpi_guard) = source_account.get_extension::<CpiGuard>() {
1685
- if *authority_info.key == source_account.base.owner
1686
- && cpi_guard.lock_cpi.into()
+ if cpi_guard.lock_cpi.into()
1687
&& in_cpi()
1688
{
1689
return Err(TokenError::CpiGuardTransferBlocked.into());
0 commit comments