From 073a37a2dcf61f11783032abca58311860417419 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 14 Nov 2016 15:10:42 -0300 Subject: [PATCH] test --- src/coins.cpp | 2 +- src/wallet/wallet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coins.cpp b/src/coins.cpp index dc3880a2a..d7208cce8 100644 --- a/src/coins.cpp +++ b/src/coins.cpp @@ -401,7 +401,7 @@ CAmount CCoinsViewCache::GetValueIn(int32_t nHeight,int64_t *interestp,const CTr #ifdef KOMODO_ENABLE_INTEREST if ( ASSETCHAINS_SYMBOL[0] == 0 && nHeight >= 60000 ) { - if ( interest != 0 ) + //if ( interest != 0 ) { printf("nResult %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)nResult/COIN,(double)interest/COIN,nHeight,tx.nLockTime,tiptime); fprintf(stderr,"nResult %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)nResult/COIN,(double)interest/COIN,nHeight,tx.nLockTime,tiptime); diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 5c8ce5a9f..5bf6c4ca4 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2403,7 +2403,7 @@ bool CWallet::SelectCoins(const CAmount& nTargetValue, setnHeight+1 >= 60000 ) { - if ( interest != 0 ) + //if ( interest != 0 ) { printf("nValueRet %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)nValueRet/COIN,(double)interest/COIN,chainActive.Tip()->nHeight+1,out.tx->nLockTime,chainActive.Tip()->nTime); fprintf(stderr,"nValueRet %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)nValueRet/COIN,(double)interest/COIN,chainActive.Tip()->nHeight+1,out.tx->nLockTime,chainActive.Tip()->nTime);