Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

[WEEKLY RELEASE] HotShot - rc-0.5.67 #412

[WEEKLY RELEASE] HotShot - rc-0.5.67

[WEEKLY RELEASE] HotShot - rc-0.5.67 #412

GitHub Actions / clippy failed Jul 30, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.80.0 (051478957 2024-07-21)
  • cargo 1.80.0 (376290515 2024-07-16)
  • clippy 0.1.80 (0514789 2024-07-21)

Annotations

Check failure on line 807 in src/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function takes 4 arguments but 3 arguments were supplied

error[E0061]: this function takes 4 arguments but 3 arguments were supplied
   --> src/service.rs:807:13
    |
807 |             GeneralStaticCommittee::<Types, <Types as NodeType>::SignatureKey>::create_election(
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
810 |                 0,
    |                 - an argument of type `hotshot_types::traits::network::Topic` is missing
    |
note: associated function defined here
   --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/a811581/crates/types/src/traits/election.rs:30:8
    |
30  |     fn create_election(
    |        ^^^^^^^^^^^^^^^
help: provide the argument
    |
807 |             GeneralStaticCommittee::<Types, <Types as NodeType>::SignatureKey>::create_election(known_node_with_stake.clone(), known_node_with_stake.clone(), /* hotshot_types::traits::network::Topic */, 0);
    |                                                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~