This commit is contained in:
jl777
2017-03-26 13:30:23 +03:00
parent f1024f06ac
commit 9e1bde7e24
3 changed files with 3 additions and 3 deletions

View File

@@ -375,7 +375,7 @@ int32_t notarizedtxid_height(char *txidstr,int32_t *kmdnotarized_heightp)
} }
free(jsonstr); free(jsonstr);
} }
} } else printf("no KMDUSERPASS\n");
return(txid_height); return(txid_height);
} }

View File

@@ -1355,7 +1355,7 @@ void komodo_configfile(char *symbol,uint16_t port)
komodo_userpass(username,password,fp); komodo_userpass(username,password,fp);
sprintf(KMDUSERPASS,"%s:%s",username,password); sprintf(KMDUSERPASS,"%s:%s",username,password);
fclose(fp); 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); } else printf("couldnt open.(%s)\n",fname);
} }

View File

@@ -111,7 +111,7 @@ Value getinfo(const Array& params, bool fHelp)
if (pwalletMain) { if (pwalletMain) {
obj.push_back(Pair("walletversion", pwalletMain->GetVersion())); obj.push_back(Pair("walletversion", pwalletMain->GetVersion()));
obj.push_back(Pair("balance", ValueFromAmount(pwalletMain->GetBalance()))); 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()))); obj.push_back(Pair("interest", ValueFromAmount(komodo_interestsum())));
} }
#endif #endif