mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Consensus support for blinded amounts
This commit is contained in:
parent
b05e98bc9c
commit
bf009e4ba1
16 changed files with 177 additions and 98 deletions
|
|
@ -83,6 +83,7 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry)
|
|||
Object out;
|
||||
if (txout.nValue.IsAmount())
|
||||
out.push_back(Pair("value", ValueFromAmount(txout.nValue.GetAmount())));
|
||||
// TODO: Non-Amount values
|
||||
out.push_back(Pair("n", (int64_t)i));
|
||||
Object o;
|
||||
ScriptPubKeyToJSON(txout.scriptPubKey, o, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue