From fa864b937e1b36f5a8fe989467360988a03637ec Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Wed, 6 May 2026 17:36:32 +0200 Subject: [PATCH] refactor: [rpc] Remove confusing and brittle integral casts (take 3) --- src/rpc/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 49c8a10cb75..20bb1cb480c 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -1167,7 +1167,7 @@ static RPCMethod exportasmap() UniValue result(UniValue::VOBJ); result.pushKV("path", export_path.utf8string()); - result.pushKV("bytes_written", (uint64_t)node::data::ip_asn.size()); + result.pushKV("bytes_written", node::data::ip_asn.size()); result.pushKV("file_hash", HexStr(hasher.GetSHA256())); return result; #endif