mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Fix: linter errors
This commit is contained in:
parent
0ee8558f3a
commit
bd2dbdcceb
189 changed files with 84 additions and 30883 deletions
|
|
@ -1259,7 +1259,7 @@ static RPCHelpMan getnewblockhex()
|
|||
options.min_tx_age = std::chrono::seconds(required_wait);
|
||||
options.proposed_entry = proposed;
|
||||
options.commit_scripts = data_commitments;
|
||||
|
||||
|
||||
std::unique_ptr<CBlockTemplate> pblocktemplate(BlockAssembler(chainman.ActiveChainstate(), node.mempool.get(), options).CreateNewBlock());
|
||||
if (!pblocktemplate.get()) {
|
||||
throw JSONRPCError(RPC_INTERNAL_ERROR, "Wallet keypool empty");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue