aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discover/table.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-04-13 23:44:14 +0800
committerFelix Lange <fjl@twurst.com>2015-04-13 23:44:14 +0800
commitb8aeb04f6f55b03edb6998107f8480031e23b22f (patch)
tree70ff670712778760f7dff502829f56009c0ebfe9 /p2p/discover/table.go
parentb9929d289df8efd68e9226fc35b14cd5d469c6e8 (diff)
downloaddexon-b8aeb04f6f55b03edb6998107f8480031e23b22f.tar.gz
dexon-b8aeb04f6f55b03edb6998107f8480031e23b22f.tar.zst
dexon-b8aeb04f6f55b03edb6998107f8480031e23b22f.zip
p2p/discover: remove unused field Node.activeStamp
Diffstat (limited to 'p2p/discover/table.go')
-rw-r--r--p2p/discover/table.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/p2p/discover/table.go b/p2p/discover/table.go
index dbf86c084..e2e846456 100644
--- a/p2p/discover/table.go
+++ b/p2p/discover/table.go
@@ -326,7 +326,6 @@ outer:
func (b *bucket) bump(n *Node) bool {
for i := range b.entries {
if b.entries[i].ID == n.ID {
- n.bumpActive()
// move it to the front
copy(b.entries[1:], b.entries[:i])
b.entries[0] = n