From 4a1fbe990e73a2b3db626823ba493d275fe1bf92 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Wed, 20 Apr 2022 13:45:26 -0600 Subject: [PATCH] Fix boolean initialization in Orchard transaction builder. --- src/transaction_builder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transaction_builder.h b/src/transaction_builder.h index 4df41ba55..a80ee3b3d 100644 --- a/src/transaction_builder.h +++ b/src/transaction_builder.h @@ -82,7 +82,7 @@ private: /// `Builder::Build` has been called, and all subsequent operations will throw an /// exception. std::unique_ptr inner; - bool hasActions; + bool hasActions{false}; Builder() : inner(nullptr, orchard_builder_free), hasActions(false) { }