mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +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
|
|
@ -576,6 +576,7 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart)
|
|||
utxo.push_back(Pair("height", (int32_t)coin.nHeight));
|
||||
if (coin.out.nValue.IsAmount())
|
||||
utxo.push_back(Pair("value", ValueFromAmount(coin.out.nValue.GetAmount())));
|
||||
else {} //TODO: Non-Amount values
|
||||
|
||||
// include the script in a json output
|
||||
UniValue o(UniValue::VOBJ);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue