From 366fbf152c6c484a22e4c299247de15aa9553982 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Wed, 18 Dec 2024 14:55:19 +0700 Subject: [PATCH 1/2] test: drop extraneous bracket in mining util --- src/test/util/mining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/util/mining.cpp b/src/test/util/mining.cpp index bde634ec1cd..04925792dce 100644 --- a/src/test/util/mining.cpp +++ b/src/test/util/mining.cpp @@ -25,7 +25,7 @@ COutPoint generatetoaddress(const NodeContext& node, const std::string& address) const auto dest = DecodeDestination(address); assert(IsValidDestination(dest)); BlockAssembler::Options assembler_options; - assembler_options.coinbase_output_script = {GetScriptForDestination(dest)}; + assembler_options.coinbase_output_script = GetScriptForDestination(dest); return MineBlock(node, assembler_options); } From 4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Wed, 18 Dec 2024 14:55:35 +0700 Subject: [PATCH 2/2] refactor: fix typo in node/types.h --- src/node/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/types.h b/src/node/types.h index 2fc66b892b5..4b0de084ab3 100644 --- a/src/node/types.h +++ b/src/node/types.h @@ -3,7 +3,7 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. //! @file node/types.h is a home for public enum and struct type definitions -//! that are used by internally by node code, but also used externally by wallet, +//! that are used internally by node code, but also used externally by wallet, //! mining or GUI code. //! //! This file is intended to define only simple types that do not have external