Skip to content

Avoid excessive Orchard dummies in `TestState::generate_next_block_sp… #4836

Avoid excessive Orchard dummies in `TestState::generate_next_block_sp…

Avoid excessive Orchard dummies in `TestState::generate_next_block_sp… #4836

GitHub Actions / Clippy (MSRV) failed Mar 8, 2024 in 0s

Clippy (MSRV)

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.65.0 (897e37553 2022-11-02)
  • cargo 1.65.0 (4bc8f24d3 2022-10-20)
  • clippy 0.1.65 (897e375 2022-11-02)

Annotations

Check failure on line 805 in zcash_client_sqlite/src/testing.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

this function has too many arguments (9/7)

error: this function has too many arguments (9/7)
   --> zcash_client_sqlite/src/testing.rs:795:5
    |
795 | /     fn add_compact_action<P: consensus::Parameters, R: RngCore + CryptoRng>(
796 | |         &self,
797 | |         ctx: &mut CompactTx,
798 | |         params: &P,
...   |
804 | |         rng: &mut R,
805 | |     ) -> Self::Nullifier {
    | |________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Check failure on line 793 in zcash_client_sqlite/src/testing.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

this function has too many arguments (8/7)

error: this function has too many arguments (8/7)
   --> zcash_client_sqlite/src/testing.rs:784:5
    |
784 | /     fn add_compact_output<P: consensus::Parameters, R: RngCore + CryptoRng>(
785 | |         &self,
786 | |         ctx: &mut CompactTx,
787 | |         params: &P,
...   |
792 | |         rng: &mut R,
793 | |     ) -> Self::Nullifier;
    | |________________________^
    |
    = note: `-D clippy::too-many-arguments` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments