diff --git a/consensus/validator.go b/consensus/validator.go index 31ad38dd9..50d7e1979 100644 --- a/consensus/validator.go +++ b/consensus/validator.go @@ -291,10 +291,9 @@ func (consensus *Consensus) onCommitted(msg *msg_pb.Message) { mask.SetMask(commitSigBitmap[bls.BLSSignatureSizeInBytes:]) cur := mask.CountEnabled() if new > cur { + consensus.getLogger().Info().Hex("old", commitSigBitmap).Hex("new", recvMsg.Payload).Msg("[OnCommitted] Overriding commit signatures!!") consensus.Blockchain.WriteCommitSig(blockObj.NumberU64(), recvMsg.Payload) } - } else { - consensus.Blockchain.WriteCommitSig(blockObj.NumberU64(), recvMsg.Payload) } consensus.tryCatchup()