Fix Ubuntu 24 daemon build errors

This commit is contained in:
root
2026-04-28 06:04:48 +00:00
parent 24959ec1f7
commit bd3dd170d2
10 changed files with 23 additions and 20 deletions
+1 -2
View File
@@ -269,7 +269,7 @@ UniValue getbestblockhash(const UniValue& params, bool fHelp)
return chainActive.Tip()->GetBlockHash().GetHex();
}
void RPCNotifyBlockChange(const uint256 hashBlock)
void RPCNotifyBlockChange(const uint256& hashBlock)
{
CBlockIndex* pindex = nullptr;
pindex = mapBlockIndex.at(hashBlock);
@@ -1654,4 +1654,3 @@ UniValue getblockindexstats(const UniValue& params, bool fHelp) {
return ret;
}