Browse Source

remove unused destination keypair

Jonas Hahn 1 year ago
parent
commit
8e79654489

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

@@ -1 +0,0 @@
-[190,198,254,219,195,198,188,248,91,58,36,89,114,143,221,246,55,38,153,95,43,99,203,221,16,226,83,243,224,154,57,42,97,126,109,17,158,56,137,34,19,105,170,85,64,116,76,234,202,180,168,197,104,240,143,161,175,114,99,93,98,123,237,240]

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

@@ -78,12 +78,12 @@ pub mod transfer_hook {
 
         if amount > 50 {
             msg!("The amount is too big {0}", amount);
-        //    return err!(MyError::AmountTooBig);
+            //return err!(MyError::AmountTooBig);
         }
 
         ctx.accounts.counter_account.counter.checked_add(1).unwrap();
 
-        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);
        
         Ok(())
     }