Test
This commit is contained in:
@@ -995,6 +995,7 @@ int32_t komodo_staked(uint256 *utxotxidp,int32_t *utxovoutp,uint64_t *utxovaluep
|
|||||||
memset(utxotxidp,0,sizeof(*utxotxidp));
|
memset(utxotxidp,0,sizeof(*utxotxidp));
|
||||||
memset(utxovoutp,0,sizeof(*utxovoutp));
|
memset(utxovoutp,0,sizeof(*utxovoutp));
|
||||||
memset(utxosig,0,72);
|
memset(utxosig,0,72);
|
||||||
|
printf("%s port.%u %s\n",ASSETCHAINS_SYMBOL,BITCOIND_PORT,ASSETCHAINS_USERPASS);
|
||||||
if ( (retstr= komodo_issuemethod(ASSETCHAINS_USERPASS,(char *)"listunspent",(char *)"[]",BITCOIND_PORT)) != 0 )
|
if ( (retstr= komodo_issuemethod(ASSETCHAINS_USERPASS,(char *)"listunspent",(char *)"[]",BITCOIND_PORT)) != 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"listunspent.(%s)\n",retstr);
|
fprintf(stderr,"listunspent.(%s)\n",retstr);
|
||||||
|
|||||||
@@ -1422,7 +1422,8 @@ uint16_t komodo_userpass(char *userpass,char *symbol)
|
|||||||
{
|
{
|
||||||
port = komodo_userpass(username,password,fp);
|
port = komodo_userpass(username,password,fp);
|
||||||
sprintf(userpass,"%s:%s",username,password);
|
sprintf(userpass,"%s:%s",username,password);
|
||||||
strcpy(ASSETCHAINS_USERPASS,userpass);
|
if ( strcmp(symbol,ASSETCHAINS_SYMBOL) == 0 )
|
||||||
|
strcpy(ASSETCHAINS_USERPASS,userpass);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
return((int32_t)strlen(userpass));
|
return((int32_t)strlen(userpass));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user