refactor: [rpc] Remove confusing and brittle integral casts (take 2)

This commit is contained in:
MarcoFalke
2026-02-06 13:17:57 +01:00
parent 0cd309c75e
commit fa6801366d
10 changed files with 24 additions and 24 deletions

View File

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