Skip to content

Commit 8e79654

Browse files
committed
remove unused destination keypair
1 parent f7f094e commit 8e79654

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tokens/token-2022/transfer-hook/anchor/TransferHookCounter/programs/destination.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

tokens/token-2022/transfer-hook/anchor/TransferHookCounter/programs/transfer-hook/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ pub mod transfer_hook {
7878

7979
if amount > 50 {
8080
msg!("The amount is too big {0}", amount);
81-
// return err!(MyError::AmountTooBig);
81+
//return err!(MyError::AmountTooBig);
8282
}
8383

8484
ctx.accounts.counter_account.counter.checked_add(1).unwrap();
8585

86-
msg!("This token has been transfered {0} times", ctx.accounts.counter_account.counter);
86+
msg!("This token has been transferred {0} times", ctx.accounts.counter_account.counter);
8787

8888
Ok(())
8989
}

0 commit comments

Comments
 (0)