From 494ab973fb7f3ac1f861247f255bd72f69541ccd Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Thu, 19 Sep 2019 13:20:05 -0700 Subject: [PATCH] fetch 1000 block increments --- src/lightclient.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightclient.rs b/src/lightclient.rs index 4814612..a5e76a7 100644 --- a/src/lightclient.rs +++ b/src/lightclient.rs @@ -624,7 +624,7 @@ impl LightClient { ); last_scanned_height = end_height; - end_height = last_scanned_height + 1000 - 1; + end_height = last_scanned_height + 1000; if last_scanned_height >= latest_block { break;