Skip to content

Commit c793238

Browse files
committed
f - update expect message
1 parent 3734698 commit c793238

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,8 +1777,11 @@ where
17771777
let logger = WithChannelContext::from(logger, self.context(), None);
17781778
match &mut self.phase {
17791779
ChannelPhase::UnfundedV2(chan) => {
1780-
let mut signing_session =
1781-
chan.interactive_tx_constructor.take().expect("TODO").into_signing_session();
1780+
let mut signing_session = chan
1781+
.interactive_tx_constructor
1782+
.take()
1783+
.expect("PendingV2Channel::interactive_tx_constructor should be set")
1784+
.into_signing_session();
17821785
let result = chan.context.funding_tx_constructed(
17831786
&mut chan.funding,
17841787
&mut signing_session,

0 commit comments

Comments
 (0)