p2p: fix typos (#29828)

This commit is contained in:
gitglorythegreat 2024-05-24 17:33:19 +08:00 committed by GitHub
parent 08fe6a8614
commit 64b1cd8aaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

@ -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
} }