Browse Source

Test

etomic
jl777 7 years ago
parent
commit
65e276c004
  1. 1
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_socket.c

1
iguana/exchanges/LP_nativeDEX.c

@ -521,6 +521,7 @@ void LP_coinsloop(void *_coins)
}
HASH_ITER(hh,coin->addresses,ap,atmp)
{
printf("call unspent %s\n",ap->coinaddr);
if ( (retjson= electrum_address_listunspent(coin->symbol,ep,&retjson,ap->coinaddr,1)) != 0 )
free_json(retjson);
}

2
iguana/exchanges/LP_socket.c

@ -596,7 +596,7 @@ cJSON *electrum_address_listunspent(char *symbol,struct electrum_info *ep,cJSON
{
if ( jobj(retjson,"error") == 0 && is_cJSON_Array(retjson) != 0 )
{
if ( 0 && electrumflag > 1 )
//if ( 0 && electrumflag > 1 )
printf("%s.%d u.%u/%d t.%ld %s LISTUNSPENT.(%d)\n",coin->symbol,height,ap->unspenttime,ap->unspentheight,time(NULL),addr,(int32_t)strlen(jprint(retjson,0)));
updatedflag = 0;
if ( electrum_process_array(coin,ep,addr,retjson,electrumflag) != 0 )

Loading…
Cancel
Save