Skip to content

Commit

Permalink
Make keys consistent and clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl authored Nov 11, 2024
1 parent 433ad3a commit ed39179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dfi/rpc_accounts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3713,7 +3713,7 @@ UniValue logdbhashes(const JSONRPCRequest &request) {
// Other known instance that can cause this to differ:
// - consolidaterewards at different points if pre-static addresses are involved.
result.pushKV("dvmhash", hashHex);
result.pushKV("dvmhash_no_undo", hashHexNoUndo);
result.pushKV("dvmwithoutundohash", hashHexNoUndo);

auto res = XResultValueLogged(evm_try_get_latest_block_hash(result));
if (res) {
Expand All @@ -3727,7 +3727,7 @@ UniValue logdbhashes(const JSONRPCRequest &request) {
const auto evmDbNodeHashHex = XResultValueLogged(evm_try_get_hash_db_state(result));
if (evmDbNodeHashHex) {
// Note: This can vary from node to node unlike the rest.
result.pushKV("evm_db_node_hash", std::string(*evmDbNodeHashHex));
result.pushKV("varhash_evmalldb", std::string(*evmDbNodeHashHex));
}

if (gArgs.GetBoolArg("-oceanarchive", DEFAULT_OCEAN_INDEXER_ENABLED) ||
Expand Down

0 comments on commit ed39179

Please sign in to comment.