From a7785a1c7d31a28c517b6295544459e7f03cb1ba Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 4 Feb 2017 15:22:38 +0200 Subject: [PATCH] test --- src/wallet/wallet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 8e9667803..ac8e50c59 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2649,8 +2649,10 @@ bool CWallet::CreateTransaction(const vector& vecSend, dPriority += (double)nCredit * age; } if ( KOMODO_EXCHANGEWALLET != 0 ) + { + fprintf(stderr,"KOMODO_EXCHANGEWALLET disable interest sum %.8f, interest2 %.8f\n",(double)interest/COIN,(double)interest2/COIN); interest = 0; -//fprintf(stderr,"interest sum %.8f, interest2 %.8f\n",(double)interest/COIN,(double)interest2/COIN); + } CAmount nChange = (nValueIn - nValue + interest); //fprintf(stderr,"wallet change %.8f (%.8f - %.8f) interest %.8f total %.8f\n",(double)nChange/COIN,(double)nValueIn/COIN,(double)nValue/COIN,(double)interest/COIN,(double)nTotalValue/COIN); if (nSubtractFeeFromAmount == 0)