Browse Source

Test

etomic
jl777 7 years ago
parent
commit
3dcde456c3
  1. 2
      iguana/exchanges/LP_rpc.c
  2. 2
      iguana/exchanges/LP_socket.c

2
iguana/exchanges/LP_rpc.c

@ -96,7 +96,7 @@ char *issue_LP_getprices(char *destip,uint16_t destport)
char *issue_hello(uint16_t port)
{
char url[512];
sprintf(url,"http://127.0.0.1:%u/api/stats/getprices",port);
sprintf(url,"http://127.0.0.1:%u/api/stats/hello",port);
//printf("getutxo.(%s)\n",url);
return(LP_issue_curl("hello","127.0.0.1",port,url));
}

2
iguana/exchanges/LP_socket.c

@ -597,7 +597,7 @@ cJSON *electrum_address_listunspent(char *symbol,struct electrum_info *ep,cJSON
{
if ( jobj(retjson,"error") == 0 && is_cJSON_Array(retjson) != 0 )
{
if ( 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