This commit is contained in:
jl777
2016-10-25 15:44:25 -03:00
parent e78fb5d338
commit 4556286725
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ char *komodo_issuemethod(char *method,char *params)
}
return(retstr);
}
//curl --url "http://127.0.0.1:14555" --data "{\"method\":\"getinfo\",\"params\":[]}"
//curl --url "http://127.0.0.1:14555" --user "user782512472:pass1476445872" --data "{\"method\":\"getinfo\",\"params\":[]}"
uint32_t komodo_txtime(uint256 hash)
{

View File

@@ -1001,7 +1001,7 @@ void komodo_configfile(char *symbol,uint16_t port)
// sprintf(serverport,"127.0.0.1:%s",rpcport);
free(rpcport);
}
printf("rpcuser.(%s) rpcpassword.(%s) port.(%s) USERPASS.(%s) port.%u\n",rpcuser,rpcpassword,rpcport,USERPASS,atoi(rpcport!=0?rpcport:0));
printf("rpcuser.(%s) rpcpassword.(%s) port.(%s) USERPASS.(%s) port.%u vs %u\n",rpcuser,rpcpassword,rpcport,USERPASS,atoi(rpcport!=0?rpcport:0),port);
if ( rpcuser != 0 )
free(rpcuser);
if ( rpcpassword != 0 )