Skip to content

Commit ac39850

Browse files
committed
Add FundingScope::get_funding_txid helper
1 parent 27be59b commit ac39850

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,6 +2070,11 @@ impl FundingScope {
20702070
self.channel_transaction_parameters.funding_outpoint
20712071
}
20722072

2073+
#[cfg(splicing)]
2074+
fn get_funding_txid(&self) -> Option<Txid> {
2075+
self.channel_transaction_parameters.funding_outpoint.map(|txo| txo.txid)
2076+
}
2077+
20732078
fn get_holder_selected_contest_delay(&self) -> u16 {
20742079
self.channel_transaction_parameters.holder_selected_contest_delay
20752080
}

0 commit comments

Comments
 (0)