From: Matt Corallo Date: Sun, 1 Mar 2020 03:03:53 +0000 (-0500) Subject: Dont hold peers lock when calling user code X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=4b9df8f696d30c277104728231f17d52ff14c939;p=rust-lightning Dont hold peers lock when calling user code --- diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index c02e351be..692e6769a 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -1136,18 +1136,30 @@ impl PeerManager { log_trace!(self.logger, "Disconnecting peer with id {} due to ping timeout", node_id); @@ -1180,10 +1192,6 @@ impl PeerManager