Skip to content

Memory Wallet Implementation #7

Memory Wallet Implementation

Memory Wallet Implementation #7

Triggered via pull request August 21, 2024 19:25
@ec2ec2
synchronize #1
ec2/memwallet
Status Success
Total duration 2m 33s
Artifacts

audits.yml

on: pull_request
Vet Rust dependencies
2m 19s
Vet Rust dependencies
Check licenses
46s
Check licenses
Fit to window
Zoom out
Zoom in

Annotations

2 errors
unnecessary closure used to substitute value for `Option::None`: zcash_client_memory/src/mem_wallet/wallet_write.rs#L58
error: unnecessary closure used to substitute value for `Option::None` --> zcash_client_memory/src/mem_wallet/wallet_write.rs:58:22 | 58 | .map(|a| a.next().ok_or_else(|| Self::Error::AccountOutOfRange)) | ^^^^^^^^^--------------------------------------------- | | | help: use `ok_or(..)` instead: `ok_or(Self::Error::AccountOutOfRange)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
unnecessary closure used to substitute value for `Option::None`: zcash_client_memory/src/mem_wallet/wallet_write.rs#L53
error: unnecessary closure used to substitute value for `Option::None` --> zcash_client_memory/src/mem_wallet/wallet_write.rs:53:32 | 53 | let seed_fingerprint = SeedFingerprint::from_seed(seed.expose_secret()) | ________________________________^ 54 | | .ok_or_else(|| Self::Error::InvalidSeedLength)?; | |______________--------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(Self::Error::InvalidSeedLength)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `-D clippy::unnecessary-lazy-evaluations` implied by `-D warnings`