Skip to content

Commit 13321b2

Browse files
committed
fix Change unneeded assigns to asserts, in splice_ack
1 parent e17baa7 commit 13321b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9316,8 +9316,8 @@ impl<SP: Deref> FundedChannel<SP> where
93169316
// update funding values
93179317
pending_splice.funding_negotiation_context.our_funding_satoshis = our_funding_satoshis;
93189318
pending_splice.funding_negotiation_context.their_funding_satoshis = Some(their_funding_satoshis);
9319-
pending_splice.interactive_tx_constructor = None;
9320-
pending_splice.interactive_tx_signing_session = None;
9319+
debug_assert!(pending_splice.interactive_tx_constructor.is_none());
9320+
debug_assert!(pending_splice.interactive_tx_signing_session.is_none());
93219321

93229322
log_info!(logger, "Splicing process started after splice_ack, new channel value {}, old {}, outgoing {}, channel_id {}",
93239323
post_channel_value, pre_channel_value, true, self.context.channel_id);

0 commit comments

Comments
 (0)