Skip to content

Commit

Permalink
run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
henrye committed Jan 4, 2023
1 parent fec296f commit 7e91d45
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions spl/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,17 @@ pub fn transfer_checked<'a, 'b, 'c, 'info>(
ctx.accounts.authority.key,
&[],
amount,
decimals
decimals,
)?;
solana_program::program::invoke_signed(
&ix, &[
ctx.accounts.from.clone(),
ctx.accounts.mint.clone(),
ctx.accounts.to.clone(),
ctx.accounts.authority.clone(),
],
ctx.signer_seeds
&ix,
&[
ctx.accounts.from.clone(),
ctx.accounts.mint.clone(),
ctx.accounts.to.clone(),
ctx.accounts.authority.clone(),
],
ctx.signer_seeds,
)
.map_err(Into::into)
}
Expand Down

0 comments on commit 7e91d45

Please sign in to comment.