mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Consensus support for blinded amounts
This commit is contained in:
parent
caa6ec41db
commit
327b4f0185
14 changed files with 212 additions and 73 deletions
|
|
@ -195,6 +195,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