accessman+lnd: rename checkIncomingConnBanScore for clarity

This commit is contained in:
yyforyongyu
2025-06-17 22:31:18 +08:00
committed by Olaoluwa Osuntokun
parent c23c90ee9b
commit 107b74d81d
3 changed files with 6 additions and 6 deletions

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