p2p: fix typos (#29828)

pull/29839/head
gitglorythegreat 6 months ago committed by GitHub
parent 08fe6a8614
commit 64b1cd8aaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      p2p/discover/table_test.go
  2. 2
      p2p/server.go

@ -364,7 +364,7 @@ func TestTable_revalidateSyncRecord(t *testing.T) {
transport.updateRecord(n2)
// 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())

@ -405,7 +405,7 @@ func (srv *Server) DiscoveryV4() *discover.UDPv4 {
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 {
return srv.discv5
}

Loading…
Cancel
Save