diff --git a/server.go b/server.go index 4a9fec48..d111058c 100644 --- a/server.go +++ b/server.go @@ -1269,7 +1269,7 @@ func (s *server) handleDonePeerMsg(state *peerState, sp *serverPeer) { } if sp.connReq != nil { - s.connManager.Remove(sp.connReq.ID()) + s.connManager.Disconnect(sp.connReq.ID()) } // Update the address' last seen time if the peer has acknowledged