mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-26 01:32:26 +01:00
Merge bitcoin/bitcoin#31520: #31318 followups
4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 refactor: fix typo in node/types.h (Sjors Provoost) 366fbf152c6c484a22e4c299247de15aa9553982 test: drop extraneous bracket in mining util (Sjors Provoost) Pull request description: #31318 followups Drops an extraneous bracket and fixes a typo. ACKs for top commit: maflcko: lgtm ACK 4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 vasild: ACK 4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 ryanofsky: Code review ACK 4f06ae05ed6f0dae44dfd62c37c048c2098e5ad3 Tree-SHA512: e168bab124f1e62f6666a21349ee4ac8ac11aadeb04813513e89f6c8f8479a67bcf3490460fd49c8d7f9b7264a32e7ea95ac727dfe4597a59b934017ec9fe44e
This commit is contained in:
commit
c1252b14d7
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user