aboutsummaryrefslogtreecommitdiffstats
path: root/les/serverpool.go
diff options
context:
space:
mode:
Diffstat (limited to 'les/serverpool.go')
-rw-r--r--les/serverpool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/les/serverpool.go b/les/serverpool.go
index 02b5e527e..e3b7cf620 100644
--- a/les/serverpool.go
+++ b/les/serverpool.go
@@ -458,7 +458,7 @@ func (pool *serverPool) loadNodes() {
// ordered from least to most recently connected.
func (pool *serverPool) saveNodes() {
list := make([]*poolEntry, len(pool.knownQueue.queue))
- for i, _ := range list {
+ for i := range list {
list[i] = pool.knownQueue.fetchOldest()
}
enc, err := rlp.EncodeToBytes(list)