jl777 7 years ago
parent
commit
dbfc5f0d58
  1. 4
      iguana/exchanges/LP_socket.c

4
iguana/exchanges/LP_socket.c

@ -685,8 +685,6 @@ int32_t LP_recvfunc(struct electrum_info *ep,char *str,int32_t len)
for (i=0; i<n; i++)
resultjson = jitem(paramsjson,i);
}
if ( (coin= LP_coinfind(ep->symbol)) != 0 )
coin->updaterate = (uint32_t)time(NULL);
}
/*else if ( strcmp(method,"blockchain.address.subscribe") == 0 ) never is called
{
@ -700,6 +698,8 @@ int32_t LP_recvfunc(struct electrum_info *ep,char *str,int32_t len)
{
*(ep->heightp) = height;
*(ep->heighttimep) = (uint32_t)time(NULL);
if ( (coin= LP_coinfind(ep->symbol)) != 0 )
coin->updaterate = (uint32_t)time(NULL);
printf("%s ELECTRUM >>>>>>>>> set height.%d\n",ep->symbol,height);
}
}

Loading…
Cancel
Save