Browse Source

Test

etomic
jl777 8 years ago
parent
commit
d219398fcf
  1. 4
      iguana/exchanges/LP_nativeDEX.c

4
iguana/exchanges/LP_nativeDEX.c

@ -344,9 +344,9 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int
{
if ( (obj= LP_getinfo(coin->symbol)) != 0 )
{
if ( (height= jint(obj,"blocks")) >= coin->longestchain )
if ( (height= jint(obj,"blocks")) > coin->longestchain )
{
coin->longestchain = height - 1;
coin->longestchain = height;
printf(">>>>>>>>>> set %s longestchain %d (ref.%d [%d, %d])\n",coin->symbol,height,coin->firstrefht,coin->firstscanht,coin->lastscanht);
} else LP_mempoolscan(coin->symbol,zero);
free_json(obj);

Loading…
Cancel
Save