accounts, eth/downloader: use "err" instead of "error" in logs

This commit is contained in:
Péter Szilágyi
2017-02-27 13:17:58 +02:00
parent 0a63c3e362
commit 46eea4d105
5 changed files with 23 additions and 23 deletions

View File

@ -66,7 +66,7 @@ func (w *watcher) loop() {
logger := log.New("path", w.ac.keydir)
if err := notify.Watch(w.ac.keydir, w.ev, notify.All); err != nil {
logger.Trace("Failed to watch keystore folder", "error", err)
logger.Trace("Failed to watch keystore folder", "err", err)
return
}
defer notify.Stop(w.ev)