mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-03 09:43:55 +02:00
Merge bitcoin/bitcoin#35223: refactor: [rpc] Remove confusing and brittle integral casts (take 3)
fa864b937erefactor: [rpc] Remove confusing and brittle integral casts (take 3) (MarcoFalke) Pull request description: This one cast is harmless, but confusing. Also, in the past they have been brittle to the extend of triggering bugs. See commit44afed4cd9. So remove this one recently introduced one. ACKs for top commit: fjahr: ACKfa864b937estickies-v: ACKfa864b937esedited: ACKfa864b937eTree-SHA512: 78407b97964c144f4d94cd445af4f57e29e460912ae9178898224d71f3d5237e5db88a981f7636193a6b7a22be8ad4fd833eb0efa9507284c10f87d9da0ec81b
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