Browse Source

Test

etomic
jl777 7 years ago
parent
commit
984e266e16
  1. 7
      iguana/exchanges/LP_socket.c

7
iguana/exchanges/LP_socket.c

@ -1073,10 +1073,13 @@ cJSON *LP_electrumserver(struct iguana_info *coin,char *ipaddr,uint16_t port)
}
else
{
kickval = electrum_kickstart(ep);
jaddstr(retjson,"result","success");
jaddstr(retjson,"status","already there");
jaddnum(retjson,"restart",kickval);
if ( ep->numerrors > 0 )
{
kickval = electrum_kickstart(ep);
jaddnum(retjson,"restart",kickval);
}
}
//printf("(%s)\n",jprint(retjson,0));
return(retjson);

Loading…
Cancel
Save