Skip to content
This repository has been archived by the owner. It is now read-only.

Consider signed nil votes to be double signs #334

Merged
merged 2 commits into from Aug 3, 2019
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
@@ -99,10 +99,7 @@ impl State {
)
}

if new_state.block_id.is_some()
&& self.consensus_state.block_id.is_some()
&& self.consensus_state.block_id != new_state.block_id
{
if self.consensus_state.block_id != new_state.block_id {
fail!(
StateErrorKind::DoubleSign,
"Attempting to sign a second proposal at height:{} round:{} step:{} old block id:{} new block {}",