Skip to content

Commit 5e7b92c

Browse files
committed
solana: Add comment on lack of custom error thrown
1 parent 08c750f commit 5e7b92c

File tree

1 file changed

+1
-0
lines changed
  • solana/programs/example-native-token-transfers/src/instructions

1 file changed

+1
-0
lines changed

solana/programs/example-native-token-transfers/src/instructions/admin.rs

+1
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ pub struct RevertTokenAuthority<'info> {
428428
pub common: ClaimTokenAuthorityBase<'info>,
429429

430430
#[account(
431+
// there is no custom error thrown as this is usually checked via `has_one` on the config
431432
address = common.config.owner
432433
)]
433434
pub owner: Signer<'info>,

0 commit comments

Comments
 (0)