From a33bf913f03177a1d834d6a70fe941b63e03e72b Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 10 Jun 2021 01:45:13 -0700 Subject: [PATCH] [fix] remove double sign checking (#3763) Signed-off-by: Leo Chen --- consensus/leader.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/consensus/leader.go b/consensus/leader.go index abf07adcf9..b6ad925af0 100644 --- a/consensus/leader.go +++ b/consensus/leader.go @@ -262,9 +262,13 @@ func (consensus *Consensus) onCommit(recvMsg *FBFTMessage) { //// Write - Start // Check for potential double signing - if consensus.checkDoubleSign(recvMsg) { - return - } + + // FIXME (leo): failed view change, will comeback later + /* + if consensus.checkDoubleSign(recvMsg) { + return + } + */ if _, err := consensus.Decider.AddNewVote( quorum.Commit, recvMsg.SenderPubkeys, &sign, recvMsg.BlockHash,