Skip to content

Commit

Permalink
change hash to txid for JSON field name #2
Browse files Browse the repository at this point in the history
Co-authored-by: Cy Rossignol <[email protected]>
  • Loading branch information
jamescowens and cyrossignol authored Aug 13, 2020
1 parent 868324a commit c556628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ UniValue getbalancedetail(const UniValue& params, bool fHelp)
if (allFee)
{
item.pushKV("timestamp", (int64_t) wtx.nTime);
item.pushKV("hash", wtx.GetHash().ToString());
item.pushKV("txid", wtx.GetHash().ToString());
item.pushKV("address", std::string {});
item.pushKV("fee", ValueFromAmount(allFee));

Expand Down

0 comments on commit c556628

Please sign in to comment.