|
@ -397,7 +397,7 @@ cJSON *LP_blockjson(int32_t *heightp,char *symbol,char *blockhashstr,int32_t hei |
|
|
*heightp = juint(json,"height"); |
|
|
*heightp = juint(json,"height"); |
|
|
if ( height >= 0 && *heightp != 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; |
|
|
*heightp = -1; |
|
|
free_json(json); |
|
|
free_json(json); |
|
|
json = 0; |
|
|
json = 0; |
|
|