server: Use Disconnect in handleDonePeerMsg
This commit is contained in:
parent
b320129e9b
commit
a041b4349b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue