Fix: linter errors

This commit is contained in:
Tom Trevethan 2026-06-29 16:43:29 +01:00
parent 0ee8558f3a
commit bd2dbdcceb
189 changed files with 84 additions and 30883 deletions

View file

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