p2p: fix typos (#29828)
This commit is contained in:
parent
08fe6a8614
commit
64b1cd8aaf
@ -364,7 +364,7 @@ func TestTable_revalidateSyncRecord(t *testing.T) {
|
|||||||
transport.updateRecord(n2)
|
transport.updateRecord(n2)
|
||||||
|
|
||||||
// Wait for revalidation. We wait for the node to be revalidated two times
|
// Wait for revalidation. We wait for the node to be revalidated two times
|
||||||
// in order to synchronize with the update in the able.
|
// in order to synchronize with the update in the table.
|
||||||
waitForRevalidationPing(t, transport, tab, n2.ID())
|
waitForRevalidationPing(t, transport, tab, n2.ID())
|
||||||
waitForRevalidationPing(t, transport, tab, n2.ID())
|
waitForRevalidationPing(t, transport, tab, n2.ID())
|
||||||
|
|
||||||
|
@ -405,7 +405,7 @@ func (srv *Server) DiscoveryV4() *discover.UDPv4 {
|
|||||||
return srv.discv4
|
return srv.discv4
|
||||||
}
|
}
|
||||||
|
|
||||||
// DiscoveryV4 returns the discovery v5 instance, if configured.
|
// DiscoveryV5 returns the discovery v5 instance, if configured.
|
||||||
func (srv *Server) DiscoveryV5() *discover.UDPv5 {
|
func (srv *Server) DiscoveryV5() *discover.UDPv5 {
|
||||||
return srv.discv5
|
return srv.discv5
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user