From a371c8684fb763b721c91240ff92c6213c4cdd10 Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Tue, 5 Apr 2022 14:40:55 -0400 Subject: [PATCH] Pass through vote extension in test helpers Signed-off-by: Thane Thomson --- internal/consensus/types/height_vote_set_test.go | 1 + internal/test/factory/commit.go | 1 + 2 files changed, 2 insertions(+) diff --git a/internal/consensus/types/height_vote_set_test.go b/internal/consensus/types/height_vote_set_test.go index 671c5f214..8bafc7a90 100644 --- a/internal/consensus/types/height_vote_set_test.go +++ b/internal/consensus/types/height_vote_set_test.go @@ -88,6 +88,7 @@ func makeVoteHR( require.NoError(t, err, "Error signing vote") vote.Signature = v.Signature + vote.ExtensionSignature = v.ExtensionSignature return vote } diff --git a/internal/test/factory/commit.go b/internal/test/factory/commit.go index 1a8691855..bc4022499 100644 --- a/internal/test/factory/commit.go +++ b/internal/test/factory/commit.go @@ -31,6 +31,7 @@ func MakeCommit(ctx context.Context, blockID types.BlockID, height int64, round return nil, err } vote.Signature = v.Signature + vote.ExtensionSignature = v.ExtensionSignature if _, err := voteSet.AddVote(vote); err != nil { return nil, err }