This commit is contained in:
jl777
2017-02-04 15:25:22 +02:00
parent a7785a1c7d
commit 2626c7e3ac
2 changed files with 3 additions and 2 deletions

View File

@@ -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 )
{

View File

@@ -2650,7 +2650,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& 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);