fix: add deposit fee and audit fixes #59
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (1)
programs/protocol-contracts-solana/src/lib.rs|539 col 10| warning: unexpected cfg
condition value: anchor-debug
--> programs/protocol-contracts-solana/src/lib.rs:539:10
|
539 | #[derive(Accounts)]
| ^^^^^^^^
|
= note: expected values for feature
are: cpi
, default
, idl-build
, no-entrypoint
, no-idl
, and no-log-ix-name
= help: consider adding anchor-debug
as a feature in Cargo.toml
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
= note: this warning originates in the derive macro Accounts
(in Nightly builds, run with -Z macro-backtrace for more info)
Filtered Findings (0)
Annotations
Check warning on line 539 in programs/protocol-contracts-solana/src/lib.rs
github-actions / clippy
[clippy] programs/protocol-contracts-solana/src/lib.rs#L539
warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/protocol-contracts-solana/src/lib.rs:539:10
|
539 | #[derive(Accounts)]
| ^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= help: consider adding `anchor-debug` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
Raw output
programs/protocol-contracts-solana/src/lib.rs:539:10:w:warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/protocol-contracts-solana/src/lib.rs:539:10
|
539 | #[derive(Accounts)]
| ^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= help: consider adding `anchor-debug` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
__END__