From 454fc3904a5cd3f0a5d1467fd0040af041174940 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 30 May 2014 10:37:31 -0500 Subject: [PATCH] No full rescans after rescan completion. If the rescan finishes before any progress notifications have been received, also unset the need to perform a full rescan next btcd reconnect. --- acctmgr.go | 1 + 1 file changed, 1 insertion(+) diff --git a/acctmgr.go b/acctmgr.go index 1e5892a..e21fe62 100644 --- a/acctmgr.go +++ b/acctmgr.go @@ -420,6 +420,7 @@ func (am *AccountManager) rescanListener() { continue } } + acct.fullRescan = false am.ds.ScheduleWalletWrite(acct) err := am.ds.FlushAccount(acct) if err != nil {