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
+3 -4
View File
@@ -33,7 +33,7 @@ namespace invalid_out
const UniValue &val = v[idx];
const UniValue &o = val.get_obj();
const UniValue &vTxid = find_value(o, "txid");
const UniValue vTxid = find_value(o, "txid");
if (!vTxid.isStr())
return false;
@@ -41,7 +41,7 @@ namespace invalid_out
if (txid == 0)
return false;
const UniValue &vN = find_value(o, "n");
const UniValue vN = find_value(o, "n");
if (!vN.isNum())
return false;
@@ -63,7 +63,7 @@ namespace invalid_out
const UniValue &val = v[idx];
const UniValue &o = val.get_obj();
const UniValue &vSerial = find_value(o, "s");
const UniValue vSerial = find_value(o, "s");
if (!vSerial.isStr())
return false;
@@ -87,4 +87,3 @@ namespace invalid_out
return static_cast<bool>(setInvalidSerials.count(bnSerial));
}
}