We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117b10e commit 3c575dbCopy full SHA for 3c575db
lightning/src/ln/peer_handler.rs
@@ -1663,6 +1663,9 @@ where
1663
Some(peer_mutex) => {
1664
let mut peer = peer_mutex.lock().unwrap();
1665
peer.awaiting_write_event = false;
1666
+ // We go ahead and force at least one write here, because if we don't have any
1667
+ // messages to send and the net driver thought we did that's weird, so they might
1668
+ // also have a confused read-paused state that we should go ahead and clear.
1669
self.do_attempt_write_data(descriptor, &mut peer, true);
1670
},
1671
};
0 commit comments