Browse Source

Test

etomic
jl777 7 years ago
parent
commit
1f948e05a6
  1. 2
      iguana/exchanges/LP_rpc.c

2
iguana/exchanges/LP_rpc.c

@ -397,7 +397,7 @@ cJSON *LP_blockjson(int32_t *heightp,char *symbol,char *blockhashstr,int32_t hei
*heightp = juint(json,"height");
if ( height >= 0 && *heightp != height )
{
printf("unexpected height %d vs %d\n",*heightp,height);
printf("unexpected height %d vs %d for %s\n",*heightp,height,blockhashstr);
*heightp = -1;
free_json(json);
json = 0;

Loading…
Cancel
Save