refactor deposit_and_call
and deposit_spl_token_and_call
#65
Annotations
2 warnings
[clippy] programs/protocol-contracts-solana/src/lib.rs#L140:
programs/protocol-contracts-solana/src/lib.rs#L140
warning: unused variable: `receiver`
--> programs/protocol-contracts-solana/src/lib.rs:140:9
|
140 | receiver: [u8; 20], // unused in this program; for directing zetachain protocol only
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver`
|
= note: `#[warn(unused_variables)]` on by default
|
[clippy] programs/protocol-contracts-solana/src/lib.rs#L140:
programs/protocol-contracts-solana/src/lib.rs#L140
warning: unused variable: `receiver`
--> programs/protocol-contracts-solana/src/lib.rs:140:9
|
140 | receiver: [u8; 20], // unused in this program; for directing zetachain protocol only
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver`
|
= note: `#[warn(unused_variables)]` on by default
|