diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index c9c0be3cc..0895cb79f 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -348,7 +348,7 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int { coin->longestchain = height - 1; 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); } else printf("error getting info.%s\n",coin->symbol); coin->lastgetinfo = (uint32_t)time(NULL); diff --git a/iguana/exchanges/LP_scan.c b/iguana/exchanges/LP_scan.c index af859465f..bd45296f2 100644 --- a/iguana/exchanges/LP_scan.c +++ b/iguana/exchanges/LP_scan.c @@ -58,7 +58,7 @@ int32_t LP_txheight(uint32_t *timestampp,uint32_t *blocktimep,struct iguana_info if ( bits256_nonz(blockhash) != 0 && (blockobj= LP_getblock(coin->symbol,blockhash)) != 0 ) { height = jint(blockobj,"height"); - printf("%s LP_txheight.%d\n",coin->symbol,height); + //printf("%s LP_txheight.%d\n",coin->symbol,height); free_json(blockobj); } else printf("LP_txheight error (%s)\n",jprint(txobj,0)); return(height);