CT: CTxOutValue::IsAmount() -> CTxOutValue::IsExplicit()

This commit is contained in:
Mark Friedenbach 2017-03-09 14:57:27 -08:00 committed by Gregory Sanders
parent 6d3406185f
commit 690a403a6d
16 changed files with 51 additions and 51 deletions

View file

@ -192,7 +192,7 @@ void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry)
UniValue out(UniValue::VOBJ);
if (txout.nValue.IsAmount()) {
if (txout.nValue.IsExplicit()) {
UniValue outValue(UniValue::VNUM, FormatMoney(txout.nValue.GetAmount()));
out.pushKV("value", outValue);
} else {