jl777 8 years ago
parent
commit
26c815cf63
  1. 2
      iguana/exchanges/LP_include.h
  2. 2
      iguana/exchanges/LP_socket.c

2
iguana/exchanges/LP_include.h

@ -23,7 +23,7 @@
//#define LP_STRICTPEERS
#define LP_ELECTRUM_MINPORT 8777
#define LP_ELECTRUM_MINPORT 8776
#define LP_COMMAND_SENDSOCK NN_PUSH
#define LP_COMMAND_RECVSOCK NN_PULL

2
iguana/exchanges/LP_socket.c

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

Loading…
Cancel
Save