From b02b5c03b8b868154061116ecea1bf0ebff53063 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jan 2017 11:02:15 +0200 Subject: [PATCH] test --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 1aca3c21e..6f674ccf3 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2643,7 +2643,7 @@ Value listunspent(const Array& params, bool fHelp) }*/ uint32_t locktime; int32_t txheight; if ( (interest= komodo_accrued_interest(&txheight,&locktime,out.tx->GetHash(),out.i,pindex->nHeight,nValue)) != 0 ) - ret.push_back(Pair("interest", ValueFromAmount(interest))); + entry.push_back(Pair("interest", ValueFromAmount(interest))); printf("locktime.%u txheight.%d pindexht.%d\n",locktime,txheight,pindex->nHeight); } entry.push_back(Pair("confirmations",out.nDepth));