diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 020b2b073..d66eecaff 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1454,7 +1454,8 @@ void komodo_args() extern int64_t MAX_MONEY; std::string name,addn; char *dirname,fname[512],magicstr[9]; uint8_t magic[4]; FILE *fp; int32_t i,baseid,len; IS_KOMODO_NOTARY = GetBoolArg("-notary", false); - KOMODO_EXCHANGEWALLET = GetBoolArg("-exchange", false); + if ( (KOMODO_EXCHANGEWALLET= GetBoolArg("-exchange", false)) != 0 ) + fprintf(stderr,"KOMODO_EXCHANGEWALLET mode active\n"); NOTARY_PUBKEY = GetArg("-pubkey", ""); if ( strlen(NOTARY_PUBKEY.c_str()) == 66 ) { diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index ac8e50c59..e7034f851 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2650,7 +2650,7 @@ bool CWallet::CreateTransaction(const vector& vecSend, } if ( KOMODO_EXCHANGEWALLET != 0 ) { - fprintf(stderr,"KOMODO_EXCHANGEWALLET disable interest sum %.8f, interest2 %.8f\n",(double)interest/COIN,(double)interest2/COIN); + //fprintf(stderr,"KOMODO_EXCHANGEWALLET disable interest sum %.8f, interest2 %.8f\n",(double)interest/COIN,(double)interest2/COIN); interest = 0; } CAmount nChange = (nValueIn - nValue + interest);