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) { }