p2p: fix typos

This commit is contained in:
gitglorythegreat 2024-05-23 23:52:15 +08:00 committed by lightclient
parent 61b3d93bb0
commit 1674a07898
2 changed files with 2 additions and 2 deletions

View file

@ -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())

View file

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