chore: fix function names in comment

Signed-off-by: fuyangpengqi <995764973@qq.com>
This commit is contained in:
fuyangpengqi committed 2024-04-27 00:04:09 +08:00
1 parent 2ccf58e2af
commit 5f22d97b51
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -3469,7 +3469,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