Merge pull request #5900 from nuttycom/bug/mempool_nu_activation_test

Fix missing initialization for `hasActions` in Orchard builder.
This commit is contained in:
Kris Nuttycombe 2022-04-20 15:22:56 -06:00 committed by GitHub
commit cb1d6a02f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ private:
/// `Builder::Build` has been called, and all subsequent operations will throw an
/// exception.
std::unique_ptr<OrchardBuilderPtr, decltype(&orchard_builder_free)> inner;
bool hasActions;
bool hasActions{false};
Builder() : inner(nullptr, orchard_builder_free), hasActions(false) { }