Skip to content

Commit

Permalink
silence intentional unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Oct 2, 2024
1 parent f352dc3 commit f9151ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions programs/protocol-contracts-solana/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ pub mod gateway {
// will get corresponding ZRC20 credit.
// amount: amount of SPL token to deposit
// receiver: ethereum address (20Bytes) of the receiver on ZetaChain zEVM
#[allow(unused)]
pub fn deposit_spl_token(
ctx: Context<DepositSplToken>,
amount: u64,
Expand Down Expand Up @@ -175,6 +176,7 @@ pub mod gateway {
// will get corresponding ZRC20 credit. The `receiver` should be a contract
// on zEVM and the `message` will be used as input data for the contract call.
// The `receiver` contract on zEVM will get the SPL token ZRC20 credit and receive the `message`.
#[allow(unused)]
pub fn deposit_spl_token_and_call(
ctx: Context<DepositSplToken>,
amount: u64,
Expand Down

0 comments on commit f9151ac

Please sign in to comment.