test
This commit is contained in:
@@ -1454,7 +1454,8 @@ void komodo_args()
|
|||||||
extern int64_t MAX_MONEY;
|
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;
|
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);
|
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", "");
|
NOTARY_PUBKEY = GetArg("-pubkey", "");
|
||||||
if ( strlen(NOTARY_PUBKEY.c_str()) == 66 )
|
if ( strlen(NOTARY_PUBKEY.c_str()) == 66 )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2650,7 +2650,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend,
|
|||||||
}
|
}
|
||||||
if ( KOMODO_EXCHANGEWALLET != 0 )
|
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;
|
interest = 0;
|
||||||
}
|
}
|
||||||
CAmount nChange = (nValueIn - nValue + interest);
|
CAmount nChange = (nValueIn - nValue + interest);
|
||||||
|
|||||||
Reference in New Issue
Block a user