File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2188,7 +2188,6 @@ impl PendingSplice {
21882188 },
21892189 }
21902190 }
2191-
21922191}
21932192
21942193/// Wrapper around a [`Transaction`] useful for caching the result of [`Transaction::compute_txid`].
@@ -9986,15 +9985,18 @@ where
99869985 &self.context.channel_id,
99879986 );
99889987 promote_splice_funding!(self, funding);
9989- let funding_txo = self.funding.get_funding_txo();
9988+ let funding_txo = self
9989+ .funding
9990+ .get_funding_txo()
9991+ .expect("Splice FundingScope should always have a funding_txo");
99909992 let announcement_sigs = self.get_announcement_sigs(
99919993 node_signer,
99929994 chain_hash,
99939995 user_config,
99949996 best_block.height,
99959997 logger,
99969998 );
9997- return Ok((funding_txo, announcement_sigs));
9999+ return Ok((Some( funding_txo) , announcement_sigs));
999810000 }
999910001
1000010002 let err = "unknown splice funding txid";
You can’t perform that action at this time.
0 commit comments