Browse Source

Test

etomic
jl777 7 years ago
parent
commit
420c56abcc
  1. 1
      iguana/exchanges/LP_socket.c

1
iguana/exchanges/LP_socket.c

@ -503,6 +503,7 @@ int32_t LP_recvfunc(struct electrum_info *ep,char *str,int32_t len)
if ( (strjson= cJSON_Parse(str)) != 0 ) if ( (strjson= cJSON_Parse(str)) != 0 )
{ {
resultjson = jobj(strjson,"result"); resultjson = jobj(strjson,"result");
printf("result.(%s)\n",jprint(resultjson,0));
if ( (method= jstr(strjson,"method")) != 0 ) if ( (method= jstr(strjson,"method")) != 0 )
{ {
if ( strcmp(method,"blockchain.headers.subscribe") == 0 ) if ( strcmp(method,"blockchain.headers.subscribe") == 0 )

Loading…
Cancel
Save