Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit a54f151

Browse files
Bump anyhow from 1.0.43 to 1.0.44 (#290)
* Bump anyhow from 1.0.43 to 1.0.44 Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](dtolnay/anyhow@1.0.43...1.0.44) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * derive Default Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: adoerr <0xad@gmx.net>
1 parent 81a2d86 commit a54f151

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

client/beefy/src/round.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,11 @@ use beefy_primitives::{
2525
use sp_arithmetic::traits::AtLeast32BitUnsigned;
2626
use sp_runtime::traits::MaybeDisplay;
2727

28+
#[derive(Default)]
2829
struct RoundTracker {
2930
votes: Vec<(Public, Signature)>,
3031
}
3132

32-
impl Default for RoundTracker {
33-
fn default() -> Self {
34-
RoundTracker { votes: Vec::new() }
35-
}
36-
}
37-
3833
impl RoundTracker {
3934
fn add_vote(&mut self, vote: (Public, Signature)) -> bool {
4035
// this needs to handle equivocations in the future

0 commit comments

Comments
 (0)