Consider signed nil votes to be double signs
@@ -99,9 +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,
