Test
This commit is contained in:
@@ -375,7 +375,7 @@ int32_t notarizedtxid_height(char *txidstr,int32_t *kmdnotarized_heightp)
|
||||
}
|
||||
free(jsonstr);
|
||||
}
|
||||
}
|
||||
} else printf("no KMDUSERPASS\n");
|
||||
return(txid_height);
|
||||
}
|
||||
|
||||
|
||||
@@ -1355,7 +1355,7 @@ void komodo_configfile(char *symbol,uint16_t port)
|
||||
komodo_userpass(username,password,fp);
|
||||
sprintf(KMDUSERPASS,"%s:%s",username,password);
|
||||
fclose(fp);
|
||||
//printf("KOMODO.(%s) -> userpass.(%s)\n",fname,KMDUSERPASS);
|
||||
printf("KOMODO.(%s) -> userpass.(%s)\n",fname,KMDUSERPASS);
|
||||
} else printf("couldnt open.(%s)\n",fname);
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ Value getinfo(const Array& params, bool fHelp)
|
||||
if (pwalletMain) {
|
||||
obj.push_back(Pair("walletversion", pwalletMain->GetVersion()));
|
||||
obj.push_back(Pair("balance", ValueFromAmount(pwalletMain->GetBalance())));
|
||||
if ( ASSETCHAINS_SYMBOL[0] != 0 )
|
||||
if ( ASSETCHAINS_SYMBOL[0] == 0 )
|
||||
obj.push_back(Pair("interest", ValueFromAmount(komodo_interestsum())));
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user