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 3734698 commit c793238Copy full SHA for c793238
lightning/src/ln/channel.rs
@@ -1777,8 +1777,11 @@ where
1777
let logger = WithChannelContext::from(logger, self.context(), None);
1778
match &mut self.phase {
1779
ChannelPhase::UnfundedV2(chan) => {
1780
- let mut signing_session =
1781
- chan.interactive_tx_constructor.take().expect("TODO").into_signing_session();
+ let mut signing_session = chan
+ .interactive_tx_constructor
1782
+ .take()
1783
+ .expect("PendingV2Channel::interactive_tx_constructor should be set")
1784
+ .into_signing_session();
1785
let result = chan.context.funding_tx_constructed(
1786
&mut chan.funding,
1787
&mut signing_session,
0 commit comments