Skip to content

Commit

Permalink
chore: change Signer to AccountInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
kAsky53 committed Oct 12, 2023
1 parent 9076df8 commit dac87be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spl/src/memo.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use anchor_lang::prelude::{CpiContext, Signer};
use anchor_lang::prelude::CpiContext;
use anchor_lang::solana_program::pubkey::Pubkey;
use anchor_lang::{Accounts, Result, ToAccountInfo};

Expand All @@ -20,7 +20,7 @@ pub fn build_memo<'info>(

#[derive(Accounts)]
pub struct BuildMemo<'info> {
pub signer: Signer<'info>,
pub signer: AccountInfo<'info>,
}

#[derive(Clone)]
Expand Down

0 comments on commit dac87be

Please sign in to comment.