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.
This commit is contained in:
Josh Rickmar 2014-05-30 10:37:31 -05:00
parent 2c3845bbbd
commit 454fc3904a

View file

@ -420,6 +420,7 @@ func (am *AccountManager) rescanListener() {
continue
}
}
acct.fullRescan = false
am.ds.ScheduleWalletWrite(acct)
err := am.ds.FlushAccount(acct)
if err != nil {