test: drop extraneous bracket in mining util

This commit is contained in:
Sjors Provoost 2024-12-18 14:55:19 +07:00
parent 52fd1511a7
commit 366fbf152c
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009

View file

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