p2p/discover: write the basic tests, catch RLP bug
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user