CT: CTxOutValue::IsAmount() -> CTxOutValue::IsExplicit()

This commit is contained in:
Mark Friedenbach 2017-03-09 14:57:27 -08:00 committed by Gregory Sanders
parent e2077844f6
commit 96221efaab
16 changed files with 51 additions and 51 deletions

View file

@ -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