Browse Source

Test

etomic
jl777 8 years ago
parent
commit
e6ee70e49f
  1. 2
      iguana/exchanges/LP_rpc.c
  2. 2
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_rpc.c

@ -79,7 +79,7 @@ cJSON *bitcoin_json(struct iguana_info *coin,char *method,char *params)
char *retstr; cJSON *retjson = 0;
if ( coin != 0 )
{
printf("issue.(%s, %s, %s, %s, %s)\n",coin->symbol,coin->serverport,coin->userpass,method,params);
//printf("issue.(%s, %s, %s, %s, %s)\n",coin->symbol,coin->serverport,coin->userpass,method,params);
retstr = bitcoind_passthru(coin->symbol,coin->serverport,coin->userpass,method,params);
if ( retstr != 0 && retstr[0] != 0 )
{

2
iguana/exchanges/LP_utxos.c

@ -548,7 +548,7 @@ uint64_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypr
printf("coin not active\n");
return(0);
}
printf("privkey init.(%s)\n",coin->symbol);
printf("privkey init.(%s) %s\n",coin->symbol,coin->smartaddr);
if ( coin->inactive == 0 && (array= LP_listunspent(coin->symbol,coin->smartaddr)) != 0 )
{
if ( is_cJSON_Array(array) != 0 && (n= cJSON_GetArraySize(array)) > 0 )

Loading…
Cancel
Save