We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08c750f commit 5e7b92cCopy full SHA for 5e7b92c
solana/programs/example-native-token-transfers/src/instructions/admin.rs
@@ -428,6 +428,7 @@ pub struct RevertTokenAuthority<'info> {
428
pub common: ClaimTokenAuthorityBase<'info>,
429
430
#[account(
431
+ // there is no custom error thrown as this is usually checked via `has_one` on the config
432
address = common.config.owner
433
)]
434
pub owner: Signer<'info>,
0 commit comments