Merge pull request #8662 from fuyangpengqi/master

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

No files matched your search

+1 -1
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