mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
server: remove all pending conn reqs within DisconnectPeer
This commit is contained in:
parent
48982015fe
commit
9b729654f6
1 changed files with 1 additions and 1 deletions
|
@ -1842,7 +1842,7 @@ func (s *server) DisconnectPeer(pubKey *btcec.PublicKey) error {
|
|||
|
||||
srvrLog.Infof("Disconnecting from %v", peer)
|
||||
|
||||
//s.cancelConnReqs(pubStr, nil)
|
||||
s.cancelConnReqs(pubStr, nil)
|
||||
|
||||
// If this peer was formerly a persistent connection, then we'll remove
|
||||
// them from this map so we don't attempt to re-connect after we
|
||||
|
|
Loading…
Add table
Reference in a new issue