types: remove extraneous call to voteWithoutExtension in test

Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Thane Thomson
2022-04-13 13:33:32 -04:00
parent 298a6b27ad
commit 8104cf5188
+1 -1
View File
@@ -572,7 +572,7 @@ func TestCommitToVoteSet(t *testing.T) {
for i := int32(0); int(i) < len(vals); i++ {
vote1 := voteWithoutExtension(voteSet.GetByIndex(i))
vote2 := voteWithoutExtension(voteSet2.GetByIndex(i))
vote2 := voteSet2.GetByIndex(i)
vote3 := commit.GetVote(i)
vote1bz, err := vote1.ToProto().Marshal()