Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhargavamacha committed Aug 20, 2024
1 parent cac5bbf commit 9aa642b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down
2 changes: 1 addition & 1 deletion programs/asset_controller/src/instructions/account/thaw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down
2 changes: 1 addition & 1 deletion programs/asset_controller/src/instructions/token/revoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
Expand Down

0 comments on commit 9aa642b

Please sign in to comment.