mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-16 17:03:46 +00:00
accounts/keystore: Fix double-events problem
This commit is contained in:
parent
ad11cf5100
commit
e4ae060842
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ func (w *watcher) loop() {
|
|||
hadEvent = true
|
||||
}
|
||||
case <-debounce.C:
|
||||
hadEvent = false
|
||||
accounts, err := w.ac.scan()
|
||||
w.ac.mu.Lock()
|
||||
w.ac.handleScanResult(accounts, err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue