Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions client/consensus/babe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -994,13 +994,15 @@ where
// the header is valid but let's check if there was something else already
// proposed at the same slot by the given author. if there was, we will
// report the equivocation to the runtime.
self.check_and_report_equivocation(
if let Err(err) = self.check_and_report_equivocation(
slot_now,
slot_number,
&header,
&verified_info.author,
&origin,
)?;
) {
warn!(target: "babe", "Error checking/reporting BABE equivocation: {:?}", err);
}

// if the body is passed through, we need to use the runtime
// to check that the internally-set timestamp in the inherents
Expand Down