Skip to content

Commit

Permalink
Revert "cmd/clef: suppress fsnotify error if keydir not exists (ether…
Browse files Browse the repository at this point in the history
…eum#28160)"

This reverts commit 6e0c4de.
  • Loading branch information
devopsbo3 authored Nov 10, 2023
1 parent 1dc8156 commit e1227d3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions accounts/keystore/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
package keystore

import (
"os"
"time"

"github.com/ethereum/go-ethereum/log"
Expand Down Expand Up @@ -78,9 +77,7 @@ func (w *watcher) loop() {
}
defer watcher.Close()
if err := watcher.Add(w.ac.keydir); err != nil {
if !os.IsNotExist(err) {
logger.Warn("Failed to watch keystore folder", "err", err)
}
logger.Warn("Failed to watch keystore folder", "err", err)
return
}

Expand Down

0 comments on commit e1227d3

Please sign in to comment.