Return extra field valueBalanceZat for explorer

This commit is contained in:
Simon 2018-09-17 15:34:48 -07:00
parent 8fc2ca6c74
commit e865c6a7d7
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ void TxToJSONExpanded(const CTransaction& tx, const uint256 hashBlock, UniValue&
if (tx.fOverwintered && tx.nVersion >= SAPLING_TX_VERSION) {
entry.push_back(Pair("valueBalance", ValueFromAmount(tx.valueBalance)));
entry.push_back(Pair("valueBalanceZat", tx.valueBalance));
UniValue vspenddesc = TxShieldedSpendsToJSON(tx);
entry.push_back(Pair("vShieldedSpend", vspenddesc));
UniValue voutputdesc = TxShieldedOutputsToJSON(tx);