From f0aa4129bd943c752a93a1a1e2e8b51b16473edc Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Mon, 2 Dec 2019 14:56:08 -0800 Subject: [PATCH] Save after rescan --- lib/src/lightclient.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/lightclient.rs b/lib/src/lightclient.rs index d0c0d51..95d1e05 100644 --- a/lib/src/lightclient.rs +++ b/lib/src/lightclient.rs @@ -862,6 +862,8 @@ impl LightClient { // Then, do a sync, which will force a full rescan from the initial state let response = self.do_sync(true); + + self.do_save()?; info!("Rescan finished"); response