diff --git a/src/test/governance_inv_tests.cpp b/src/test/governance_inv_tests.cpp index a33fc7a516fb..d55c428e937a 100644 --- a/src/test/governance_inv_tests.cpp +++ b/src/test/governance_inv_tests.cpp @@ -155,6 +155,7 @@ CGovernanceVote MakeGovernanceVote(const uint256& parent_hash) { CGovernanceVote vote{COutPoint{uint256S("11"), 1}, parent_hash, VOTE_SIGNAL_FUNDING, VOTE_OUTCOME_YES}; vote.SetTime(GetTime().count()); + vote.SetSignature(std::vector(CGovernanceVote::COMPACT_SIG_SIZE)); return vote; }