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 f7f094e commit 8e79654Copy full SHA for 8e79654
tokens/token-2022/transfer-hook/anchor/TransferHookCounter/programs/destination.json
tokens/token-2022/transfer-hook/anchor/TransferHookCounter/programs/transfer-hook/src/lib.rs
@@ -78,12 +78,12 @@ pub mod transfer_hook {
78
79
if amount > 50 {
80
msg!("The amount is too big {0}", amount);
81
- // return err!(MyError::AmountTooBig);
+ //return err!(MyError::AmountTooBig);
82
}
83
84
ctx.accounts.counter_account.counter.checked_add(1).unwrap();
85
86
- msg!("This token has been transfered {0} times", ctx.accounts.counter_account.counter);
+ msg!("This token has been transferred {0} times", ctx.accounts.counter_account.counter);
87
88
Ok(())
89
0 commit comments