Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Oct 10, 2024
1 parent 68f5fef commit 1d5b991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions programs/protocol-contracts-solana/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ no-log-ix-name = []
idl-build = ["anchor-lang/idl-build"]

[dependencies]
anchor-lang = { version = "=0.30.0", features = ["init-if-needed"] }
anchor-spl = { version = "=0.30.0" , features = ["idl-build"]}
anchor-lang = { version = "=0.30.0" }
anchor-spl = { version = "=0.30.0", features = ["idl-build"] }
anchor-syn = "=0.30.0"
spl-associated-token-account = "3.0.2"
solana-program = "=1.18.15"
8 changes: 0 additions & 8 deletions programs/protocol-contracts-solana/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,14 +307,6 @@ pub mod gateway {
recipient_ata == ctx.accounts.recipient_ata.to_account_info().key(),
Errors::SPLAtaAndMintAddressMismatch,
);
// DEBUG
let lamports = ctx.accounts.recipient.to_account_info().lamports();
msg!(
"recipient {:?} has lamports {:?}",
ctx.accounts.recipient.to_account_info().key(),
lamports,
);
// END DEBUG

// test whether the recipient_ata is created or not; if not, create it
let recipient_ata_account = ctx.accounts.recipient_ata.to_account_info();
Expand Down

0 comments on commit 1d5b991

Please sign in to comment.