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

Commit

Permalink
grandpa: fix test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva committed Oct 22, 2020
1 parent 3c923ef commit 24eb825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/finality-grandpa/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ fn grandpa_environment_doesnt_send_equivocation_reports_for_itself() {
let equivocation_proof = sp_finality_grandpa::Equivocation::Prevote(equivocation.clone());
assert!(matches!(
environment.report_equivocation(equivocation_proof),
Err(Error::Safety(_)),
Err(Error::Safety(_))
));

// if we set the equivocation offender to another id for which we don't have
Expand Down

0 comments on commit 24eb825

Please sign in to comment.