From 9aa642b2e7cead285d22100af376b5fe1811fa27 Mon Sep 17 00:00:00 2001 From: Bhargava Sai Macha Date: Tue, 20 Aug 2024 10:39:43 -0400 Subject: [PATCH] clippy --- programs/asset_controller/src/instructions/account/freeze.rs | 2 +- programs/asset_controller/src/instructions/account/thaw.rs | 2 +- programs/asset_controller/src/instructions/token/revoke.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/asset_controller/src/instructions/account/freeze.rs b/programs/asset_controller/src/instructions/account/freeze.rs index b82bcbc..6709024 100644 --- a/programs/asset_controller/src/instructions/account/freeze.rs +++ b/programs/asset_controller/src/instructions/account/freeze.rs @@ -34,7 +34,7 @@ impl<'info> FreezeTokenAccount<'info> { let cpi_ctx = CpiContext::new_with_signer( self.token_program.to_account_info(), accounts, - &signer_seeds, + signer_seeds, ); freeze_account(cpi_ctx)?; Ok(()) diff --git a/programs/asset_controller/src/instructions/account/thaw.rs b/programs/asset_controller/src/instructions/account/thaw.rs index c87f4a0..bd2d167 100644 --- a/programs/asset_controller/src/instructions/account/thaw.rs +++ b/programs/asset_controller/src/instructions/account/thaw.rs @@ -34,7 +34,7 @@ impl<'info> ThawTokenAccount<'info> { let cpi_ctx = CpiContext::new_with_signer( self.token_program.to_account_info(), accounts, - &signer_seeds, + signer_seeds, ); thaw_account(cpi_ctx)?; Ok(()) diff --git a/programs/asset_controller/src/instructions/token/revoke.rs b/programs/asset_controller/src/instructions/token/revoke.rs index c397896..deb867d 100644 --- a/programs/asset_controller/src/instructions/token/revoke.rs +++ b/programs/asset_controller/src/instructions/token/revoke.rs @@ -36,7 +36,7 @@ impl<'info> RevokeTokens<'info> { let cpi_ctx = CpiContext::new_with_signer( self.token_program.to_account_info(), accounts, - &signer_seeds, + signer_seeds, ); transfer_checked(cpi_ctx, amount, self.asset_mint.decimals)?; Ok(())