diff options
Diffstat (limited to 'p2p/discv5/table.go')
-rw-r--r-- | p2p/discv5/table.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/discv5/table.go b/p2p/discv5/table.go index c793be508..4f4b2426f 100644 --- a/p2p/discv5/table.go +++ b/p2p/discv5/table.go @@ -123,7 +123,7 @@ func (tab *Table) readRandomNodes(buf []*Node) (n int) { var buckets [][]*Node for _, b := range &tab.buckets { if len(b.entries) > 0 { - buckets = append(buckets, b.entries[:]) + buckets = append(buckets, b.entries) } } if len(buckets) == 0 { |