Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Dec 13, 2023
1 parent d63cf76 commit 4e478c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ func signAddVote(ctx context.Context, privVal PrivValidator, vote *Vote, voteSet
return false, err
}

vote.VoteExtensions = VoteExtensionsFromProto(v.VoteExtensions)
err = vote.PopulateSignsFromProto(v)
if err != nil {
return false, err
}

return voteSet.AddVote(vote)
}

0 comments on commit 4e478c6

Please sign in to comment.