Skip to content

Merge pull request #14 from r0gue-io/chore-polkadot-v1.10.0 #17

Merge pull request #14 from r0gue-io/chore-polkadot-v1.10.0

Merge pull request #14 from r0gue-io/chore-polkadot-v1.10.0 #17

GitHub Actions / clippy succeeded Nov 8, 2024 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check warning on line 236 in node/src/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (14/7)

warning: this function has too many arguments (14/7)
   --> node/src/service.rs:221:1
    |
221 | / fn start_consensus(
222 | |     client: Arc<ParachainClient>,
223 | |     backend: Arc<ParachainBackend>,
224 | |     block_import: ParachainBlockImport,
...   |
235 | |     announce_block: Arc<dyn Fn(Hash, Option<Vec<u8>>) + Send + Sync>,
236 | | ) -> Result<(), sc_service::Error> {
    | |__________________________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default