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 724a855 commit 4c2193cCopy full SHA for 4c2193c
lightning/src/ln/channel.rs
@@ -6916,7 +6916,11 @@ impl<SP: Deref> FundedChannel<SP> where
6916
// transaction and waits for us to do it).
6917
let tx_signatures = self.context.monitor_pending_tx_signatures.take();
6918
if tx_signatures.is_some() {
6919
- self.context.channel_state.set_our_tx_signatures_ready();
+ if self.context.channel_state.is_their_tx_signatures_sent() {
6920
+ self.context.channel_state = ChannelState::AwaitingChannelReady(AwaitingChannelReadyFlags::new());
6921
+ } else {
6922
+ self.context.channel_state.set_our_tx_signatures_ready();
6923
+ }
6924
}
6925
6926
if self.context.channel_state.is_peer_disconnected() {
0 commit comments