mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 18:23:26 -03:00
test: drop extraneous bracket in mining util
This commit is contained in:
parent
52fd1511a7
commit
366fbf152c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ COutPoint generatetoaddress(const NodeContext& node, const std::string& address)
|
||||||
const auto dest = DecodeDestination(address);
|
const auto dest = DecodeDestination(address);
|
||||||
assert(IsValidDestination(dest));
|
assert(IsValidDestination(dest));
|
||||||
BlockAssembler::Options assembler_options;
|
BlockAssembler::Options assembler_options;
|
||||||
assembler_options.coinbase_output_script = {GetScriptForDestination(dest)};
|
assembler_options.coinbase_output_script = GetScriptForDestination(dest);
|
||||||
|
|
||||||
return MineBlock(node, assembler_options);
|
return MineBlock(node, assembler_options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue