From a2c3713eccc1e40ad000a8e9984045138d9a66be Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jan 2017 11:13:10 +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 2b3c81a11..792f2f417 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2641,7 +2641,7 @@ Value listunspent(const Array& params, bool fHelp) interest = komodo_interest(txheight,nValue,out.tx->nLockTime,tipindex->nTime); entry.push_back(Pair("interest",ValueFromAmount(interest))); } - fprintf(stderr,"pindex.%p tipindex.%p locktime.%u txheight.%d pindexht.%d\n",pindex,chainActive.Tip(),locktime,txheight,pindex->nHeight); + fprintf(stderr,"nValue %.8f pindex.%p tipindex.%p locktime.%u txheight.%d pindexht.%d\n",(double)nValue/COIN,pindex,chainActive.Tip(),locktime,txheight,pindex->nHeight); } entry.push_back(Pair("confirmations",out.nDepth)); entry.push_back(Pair("spendable", out.fSpendable));