diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-27 17:33:06 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-27 17:33:06 +0800 |
commit | 8de8f61d369b5830f818eddf446e8368ecf11f0f (patch) | |
tree | 4f5c118171bca51faee41feddc836736ad017499 /p2p/discover/table.go | |
parent | 0201c04b95df3224e5fe1a3a591dba95ab8030dd (diff) | |
download | go-tangerine-8de8f61d369b5830f818eddf446e8368ecf11f0f.tar go-tangerine-8de8f61d369b5830f818eddf446e8368ecf11f0f.tar.gz go-tangerine-8de8f61d369b5830f818eddf446e8368ecf11f0f.tar.bz2 go-tangerine-8de8f61d369b5830f818eddf446e8368ecf11f0f.tar.lz go-tangerine-8de8f61d369b5830f818eddf446e8368ecf11f0f.tar.xz go-tangerine-8de8f61d369b5830f818eddf446e8368ecf11f0f.tar.zst go-tangerine-8de8f61d369b5830f818eddf446e8368ecf11f0f.zip |
p2p/discover: write the basic tests, catch RLP bug
Diffstat (limited to 'p2p/discover/table.go')
-rw-r--r-- | p2p/discover/table.go | 2 |
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) } |