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