Merge pull request #8662 from fuyangpengqi/master

chore: fix function names in comment
This commit is contained in:
Oliver Gugger
2024-04-29 15:10:20 +02:00
committed by GitHub
5 changed files with 6 additions and 6 deletions

View File

@@ -3503,7 +3503,7 @@ func (s *server) nextPeerBackoff(pubStr string,
return s.cfg.MinBackoff
}
// shouldDropConnection determines if our local connection to a remote peer
// shouldDropLocalConnection determines if our local connection to a remote peer
// should be dropped in the case of concurrent connection establishment. In
// order to deterministically decide which connection should be dropped, we'll
// utilize the ordering of the local and remote public key. If we didn't use