Merge 4daadce36c into merged_master (Bitcoin PR #17162)

This commit is contained in:
Andrew Poelstra 2020-11-09 21:20:41 +00:00
commit 75e090ffc0
3 changed files with 42 additions and 74 deletions

View file

@ -595,7 +595,7 @@ struct CScriptWitness
{
// Note that this encodes the data elements being pushed, rather than
// encoding them as a CScript that pushes them.
std::vector<std::vector<unsigned char> > stack;
std::vector<std::vector<unsigned char> > stack{};
// Some compilers complain without a default constructor
CScriptWitness() { }