This commit is contained in:
jl777
2016-10-21 16:44:49 -03:00
parent 2fe65b37f5
commit 8a9bc02778
5 changed files with 31 additions and 25 deletions

View File

@@ -506,6 +506,7 @@ static bool rest_getutxos(AcceptedConnection* conn,
utxo.push_back(Pair("txvers", (int32_t)coin.nTxVer));
utxo.push_back(Pair("height", (int32_t)coin.nHeight));
utxo.push_back(Pair("value", ValueFromAmount(coin.out.nValue)));
//utxo.push_back(Pair("interest", ValueFromAmount(komodo_interest(coin.out.nValue,coin.nLockTime,chainActive.Tip()->nTime))));
// include the script in a json output
Object o;