From 6340b0b480cc2b10e4004ae4ba3de19c60803aae Mon Sep 17 00:00:00 2001 From: akhil pune Date: Fri, 12 Jan 2024 22:30:52 +0530 Subject: [PATCH] changes: changes in makeCommit function --- types/vote_set.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/vote_set.go b/types/vote_set.go index 17b2884a2ff..0e10f539d03 100644 --- a/types/vote_set.go +++ b/types/vote_set.go @@ -625,6 +625,10 @@ func (voteSet *VoteSet) MakeCommit() *Commit { commitSigs := make([]CommitSig, len(voteSet.votes)) for i, v := range voteSet.votes { commitSig := v.CommitSig() + if len(v.SideTxResults) > 0 { + commitSig.SideTxResults = v.SideTxResults //[dojimamint] + } + // if block ID exists but doesn't match, exclude sig if commitSig.ForBlock() && !v.BlockID.Equals(*voteSet.maj23) { commitSig = NewCommitSigAbsent()