Remove scary disconenct warnings on PeerManager new connection fns 2022-07-fix-pm-docs
authorMatt Corallo <git@bluematt.me>
Fri, 22 Jul 2022 00:32:17 +0000 (00:32 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 25 Jul 2022 18:21:00 +0000 (18:21 +0000)
commit19b5a48dde8dbf3c1905499a8f153b3f3e62964a
treebb2435671779d9a59c44ef8e1dde8585c2e650dd
parent834fe6357da0b7e2c9f546c156b0ecc0d1006185
Remove scary disconenct warnings on PeerManager new connection fns

In 4703d4e72565ddfd150b9368ea036f4973fd7590 we changed
PeerManager::socket_disconnected to no longer require that sockets
which the PeerManager decided to disconnect not be disconnected.
However, we forgot to remove the scary warnings on the
`new_{inbound,outbound}_connection` functions which warned of the
old behavior.

We do so here.
lightning/src/ln/peer_handler.rs