mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
Merge bitcoin/bitcoin#31520: #31318 followups
Some checks are pending
CI / test each commit (push) Waiting to run
CI / macOS 14 native, arm64, no depends, sqlite only, gui (push) Waiting to run
CI / macOS 14 native, arm64, fuzz (push) Waiting to run
CI / Win64 native, VS 2022 (push) Waiting to run
CI / Win64 native fuzz, VS 2022 (push) Waiting to run
CI / ASan + LSan + UBSan + integer, no depends, USDT (push) Waiting to run
Some checks are pending
CI / test each commit (push) Waiting to run
CI / macOS 14 native, arm64, no depends, sqlite only, gui (push) Waiting to run
CI / macOS 14 native, arm64, fuzz (push) Waiting to run
CI / Win64 native, VS 2022 (push) Waiting to run
CI / Win64 native fuzz, VS 2022 (push) Waiting to run
CI / ASan + LSan + UBSan + integer, no depends, USDT (push) Waiting to run
4f06ae05ed
refactor: fix typo in node/types.h (Sjors Provoost)366fbf152c
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 ACK4f06ae05ed
vasild: ACK4f06ae05ed
ryanofsky: Code review ACK4f06ae05ed
Tree-SHA512: e168bab124f1e62f6666a21349ee4ac8ac11aadeb04813513e89f6c8f8479a67bcf3490460fd49c8d7f9b7264a32e7ea95ac727dfe4597a59b934017ec9fe44e
This commit is contained in:
commit
c1252b14d7
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue