mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Consensus support for blinded amounts
This commit is contained in:
parent
357d472d95
commit
438b0d89ae
13 changed files with 187 additions and 51 deletions
|
|
@ -197,6 +197,8 @@ void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry)
|
|||
if (txout.nValue.IsAmount()) {
|
||||
UniValue outValue(UniValue::VNUM, FormatMoney(txout.nValue.GetAmount()));
|
||||
out.pushKV("value", outValue);
|
||||
} else {
|
||||
//TODO: Non-Amount values
|
||||
}
|
||||
out.pushKV("n", (int64_t)i);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue