aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discover/table.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-27 17:33:06 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-27 17:33:06 +0800
commit8de8f61d369b5830f818eddf446e8368ecf11f0f (patch)
tree4f5c118171bca51faee41feddc836736ad017499 /p2p/discover/table.go
parent0201c04b95df3224e5fe1a3a591dba95ab8030dd (diff)
downloaddexon-8de8f61d369b5830f818eddf446e8368ecf11f0f.tar.gz
dexon-8de8f61d369b5830f818eddf446e8368ecf11f0f.tar.zst
dexon-8de8f61d369b5830f818eddf446e8368ecf11f0f.zip
p2p/discover: write the basic tests, catch RLP bug
Diffstat (limited to 'p2p/discover/table.go')
-rw-r--r--p2p/discover/table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/discover/table.go b/p2p/discover/table.go
index e21d9f2f4..4058c7bb7 100644
--- a/p2p/discover/table.go
+++ b/p2p/discover/table.go
@@ -307,7 +307,7 @@ func (tab *Table) pingpong(w *bondproc, pinged bool, id NodeID, addr *net.UDPAdd
TCPPort: int(tcpPort),
}
tab.db.updateNode(w.n)
- tab.db.updateLastBond(id, time.Now())
+ tab.db.updateLastPong(id, time.Now())
close(w.done)
}