We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8d9932 commit 561aabaCopy full SHA for 561aaba
lightning/src/ln/channel.rs
@@ -6886,7 +6886,11 @@ impl<SP: Deref> FundedChannel<SP> where
6886
// transaction and waits for us to do it).
6887
let tx_signatures = self.context.monitor_pending_tx_signatures.take();
6888
if tx_signatures.is_some() {
6889
- self.context.channel_state.set_our_tx_signatures_ready();
+ if self.context.channel_state.is_their_tx_signatures_sent() {
6890
+ self.context.channel_state = ChannelState::AwaitingChannelReady(AwaitingChannelReadyFlags::new());
6891
+ } else {
6892
+ self.context.channel_state.set_our_tx_signatures_ready();
6893
+ }
6894
}
6895
6896
if self.context.channel_state.is_peer_disconnected() {
0 commit comments