mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-13 06:04:42 +02:00
refactor: [rpc] Remove confusing and brittle integral casts (take 2)
This commit is contained in:
@@ -983,7 +983,7 @@ static RPCHelpMan getblocktemplate()
|
||||
result.pushKV("version", block.nVersion);
|
||||
result.pushKV("rules", std::move(aRules));
|
||||
result.pushKV("vbavailable", std::move(vbavailable));
|
||||
result.pushKV("vbrequired", int(0));
|
||||
result.pushKV("vbrequired", 0);
|
||||
|
||||
result.pushKV("previousblockhash", block.hashPrevBlock.GetHex());
|
||||
result.pushKV("transactions", std::move(transactions));
|
||||
|
||||
Reference in New Issue
Block a user