From 176fa882e3cb90fbf6c56e5575313dd5d8615e6a Mon Sep 17 00:00:00 2001 From: Vinod Damle Date: Thu, 30 Sep 2021 06:46:10 -0400 Subject: [PATCH] Move comment --- consensus/istanbul/ibft/core/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/istanbul/ibft/core/core.go b/consensus/istanbul/ibft/core/core.go index 91c2559e15..ce940fbb67 100644 --- a/consensus/istanbul/ibft/core/core.go +++ b/consensus/istanbul/ibft/core/core.go @@ -97,11 +97,11 @@ func (c *core) finalizeMessage(msg *ibfttypes.Message) ([]byte, error) { // Add sender address msg.Address = c.Address() - // Add proof of consensus // Assign the CommittedSeal if it's a COMMIT message and proposal is not nil if msg.Code == ibfttypes.MsgCommit && c.current.Proposal() != nil { msg.CommittedSeal = []byte{} seal := PrepareCommittedSeal(c.current.Proposal().Hash()) + // Add proof of consensus msg.CommittedSeal, err = c.backend.Sign(seal) if err != nil { return nil, err