Fix build warning issues

This commit is contained in:
root
2026-04-28 07:34:45 +00:00
parent 0d9afa3986
commit 34864c5254
11 changed files with 18 additions and 21 deletions
+1 -1
View File
@@ -434,7 +434,7 @@ UniValue mempoolToJSON(bool fVerbose = false)
if (fVerbose) {
LOCK(mempool.cs);
UniValue o(UniValue::VOBJ);
for (const PAIRTYPE(uint256, CTxMemPoolEntry) & entry : mempool.mapTx) {
for (const auto& entry : mempool.mapTx) {
const uint256& hash = entry.first;
const CTxMemPoolEntry& e = entry.second;
UniValue info(UniValue::VOBJ);