accessman+lnd: rename checkIncomingConnBanScore for clarity

This commit is contained in:
yyforyongyu committed 2025-06-19 16:05:59 +08:00
1 parent 869e541b7c
commit 0dc10ba692
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -1908,7 +1908,7 @@ func newServer(_ context.Context, cfg *Config, listenAddrs []net.Addr,
nodeKeyECDH, listenAddr.String(),
// TODO(yy): remove this check and unify the inbound
// connection check inside `InboundPeerConnected`.
s.peerAccessMan.checkIncomingConnBanScore,
s.peerAccessMan.checkAcceptIncomingConn,
)
if err != nil {
return nil, err