From f305836943b79bc1d22675ac6b5cd820932de018 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 11 Nov 2016 20:26:05 -0300 Subject: [PATCH] test --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 15c5bb2eb..e4075cf8b 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2403,7 +2403,7 @@ bool CWallet::SelectCoins(const CAmount& nTargetValue, set= 60000 ) { - printf("nValueRet %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)nValueRet/COIN,(double)interest/COIN,nHeight,tx.nLockTime,tiptime); + printf("nValueRet %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)nValueRet/COIN,(double)interest/COIN,txheight,tx->nLockTime,chainActive.Tip()->nTime); nValueRet += interest; } fprintf(stderr,"interest %llu from %llu lock.%u tip.%u\n",(long long)interest,(long long)out.tx->vout[out.i].nValue,out.tx->nLockTime,chainActive.Tip()->nTime);