jl777 7 years ago
parent
commit
5bcb5966f7
  1. 4
      iguana/exchanges/LP_rpc.c

4
iguana/exchanges/LP_rpc.c

@ -926,9 +926,9 @@ uint32_t LP_heighttime(char *symbol,int32_t height)
{
if ( (blockhashstr= LP_blockhashstr(symbol,height)) != 0 )
{
if ( (retjson= cJSON_Parse(blockhashstr)) != 0 )
if ( (retjson= LP_getblockhashstr(symbol,blockhashstr)) != 0 )
{
printf("height.(%s)\n",jprint(retjson,0));
printf("%s -> height.(%s)\n",blockhashstr,jprint(retjson,0));
timestamp = juint(retjson,"time");
free_json(retjson);
}

Loading…
Cancel
Save