Skip to content

Commit

Permalink
changes: changes in makeCommit function
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilpune committed Jan 12, 2024
1 parent 699374f commit 6340b0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/vote_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6340b0b

Please sign in to comment.