mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
CT: CTxOutValue::IsAmount() -> CTxOutValue::IsExplicit()
This commit is contained in:
parent
6d3406185f
commit
690a403a6d
16 changed files with 51 additions and 51 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue