Skip to content

Commit

Permalink
bugfix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kAsky53 committed Oct 12, 2023
1 parent 5adcec7 commit 869fe68
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spl/src/memo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ pub fn build_memo<'info>(
memo: &[u8],
) -> Result<()> {
let ix = spl_memo::build_memo(memo, &[ctx.accounts.signer.key]);
solana_program::program::invoke_signed(
&ix,
&[ctx.accounts.signer],
ctx.signer_seeds,
)
.map_err(Into::into)
solana_program::program::invoke_signed(&ix, &[ctx.accounts.signer], ctx.signer_seeds)
.map_err(Into::into)
}

#[derive(Accounts)]
Expand Down

0 comments on commit 869fe68

Please sign in to comment.