mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-29 23:33:33 +02:00
refactor: [rpc] Remove confusing and brittle integral casts (take 3)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user