mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 02:02:10 +02:00
accessman+lnd: rename checkIncomingConnBanScore
for clarity
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
c23c90ee9b
commit
107b74d81d
@@ -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
|
||||
|
Reference in New Issue
Block a user