Skip to content

Commit

Permalink
modifications make at side-tx-result in makeCommit()
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilpune committed Jan 14, 2024
1 parent bccaf9e commit d37122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/vote_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ 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 {
if v != nil && v.SideTxResults != nil && len(v.SideTxResults) > 0 {
commitSig.SideTxResults = v.SideTxResults //[dojimamint]
}

Expand Down

0 comments on commit d37122f

Please sign in to comment.