diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-02-22 20:56:09 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-02-23 18:16:45 +0800 |
commit | 61e6bb12478740d614c8effd330f881f962b7b84 (patch) | |
tree | 71109a9d02fd7d0b243994b5584618b9e8b46d7b /swarm/network/syncer.go | |
parent | d4fd06c3dc6cd6d2dbd2bfebfee5bcb46a504851 (diff) | |
download | dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.gz dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.bz2 dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.lz dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.xz dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.zst dexon-61e6bb12478740d614c8effd330f881f962b7b84.zip |
eth, les, swarm: fix go vet issues sufraced by log15
Diffstat (limited to 'swarm/network/syncer.go')
-rw-r--r-- | swarm/network/syncer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/network/syncer.go b/swarm/network/syncer.go index eb932e927..20129c2a8 100644 --- a/swarm/network/syncer.go +++ b/swarm/network/syncer.go @@ -480,7 +480,7 @@ LOOP: stateCopy := *state err := self.unsyncedKeys(unsynced, &stateCopy) if err != nil { - log.Warn(fmt.Sprintf("syncer[%v]: unable to send unsynced keys: %v", err)) + log.Warn(fmt.Sprintf("syncer[%v]: unable to send unsynced keys: %v", self.key.Log(), err)) } self.state = state log.Debug(fmt.Sprintf("syncer[%v]: --> %v keys sent: (total: %v (%v), history: %v), sent sync state: %v", self.key.Log(), len(unsynced), keyCounts, keyCount, historyCnt, stateCopy)) @@ -553,7 +553,7 @@ LOOP: log.Trace(fmt.Sprintf("syncer[%v]: (priority %v): request %v (synced = %v)", self.key.Log(), priority, req, state.Synced)) unsynced = append(unsynced, sreq) } else { - log.Warn(fmt.Sprintf("syncer[%v]: (priority %v): error creating request for %v: %v)", self.key.Log(), priority, req, state.Synced, err)) + log.Warn(fmt.Sprintf("syncer[%v]: (priority %v): error creating request for %v: %v)", self.key.Log(), priority, req, err)) } } |