Commit 8159d45f authored by Paladz's avatar Paladz Committed by GitHub

fix the rescan bug (#1708)

parent 7cfce61c
......@@ -148,6 +148,7 @@ func (w *Wallet) loadWalletInfo() error {
}
w.status.Version = currentVersion
w.status.WorkHash = bc.Hash{}
block, err := w.chain.GetBlockByHeight(0)
if err != nil {
return err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment