mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
CT: CTxOutValue::IsAmount() -> CTxOutValue::IsExplicit()
This commit is contained in:
parent
e2077844f6
commit
96221efaab
16 changed files with 51 additions and 51 deletions
|
|
@ -574,7 +574,7 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart)
|
|||
UniValue utxo(UniValue::VOBJ);
|
||||
utxo.push_back(Pair("txvers", (int32_t)coin.nTxVer));
|
||||
utxo.push_back(Pair("height", (int32_t)coin.nHeight));
|
||||
if (coin.out.nValue.IsAmount())
|
||||
if (coin.out.nValue.IsExplicit())
|
||||
utxo.push_back(Pair("value", ValueFromAmount(coin.out.nValue.GetAmount())));
|
||||
else {} //TODO: Non-Amount values
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue