OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cfce61
)
fix the rescan bug (#1708)
author
Paladz
<yzhu101@uottawa.ca>
Thu, 18 Apr 2019 05:22:53 +0000
(13:22 +0800)
committer
GitHub
<noreply@github.com>
Thu, 18 Apr 2019 05:22:53 +0000
(13:22 +0800)
wallet/wallet.go
patch
|
blob
|
history
diff --git
a/wallet/wallet.go
b/wallet/wallet.go
index
73cf84b
..
efdf32a
100644
(file)
--- a/
wallet/wallet.go
+++ b/
wallet/wallet.go
@@
-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