Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
remove assert
Signed-off-by: turuslan <[email protected]>
  • Loading branch information
turuslan committed Jul 29, 2022
commit 63736ff61ca60982f355c29ceb4a6706215dcd3a
4 changes: 3 additions & 1 deletion core/consensus/grandpa/impl/voting_round_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,9 @@ namespace kagome::consensus::grandpa {
return false;
}

BOOST_ASSERT(prevote_ghost_.has_value());
if (not prevote_ghost_) {
return false;
}
const auto &prevote_ghost = prevote_ghost_.value();

// anything new finalized? finalized blocks are those which have both
Expand Down