diff --git a/programs/protocol-contracts-solana/src/lib.rs b/programs/protocol-contracts-solana/src/lib.rs index 38fbee5..14b6cc8 100644 --- a/programs/protocol-contracts-solana/src/lib.rs +++ b/programs/protocol-contracts-solana/src/lib.rs @@ -122,7 +122,6 @@ pub mod gateway { amount: u64, receiver: [u8; 20], ) -> Result<()> { - let token = &ctx.accounts.token_program; let from = &ctx.accounts.from; @@ -154,7 +153,6 @@ pub mod gateway { Ok(()) } - pub fn deposit_spl_token_and_call( ctx: Context, amount: u64,