Skip to content

Commit 3a0e019

Browse files
committed
Add FundingScope::get_funding_txid helper
1 parent 80c8f6e commit 3a0e019

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
@@ -1914,6 +1914,11 @@ impl FundingScope {
19141914
self.channel_transaction_parameters.funding_outpoint
19151915
}
19161916

1917+
#[cfg(splicing)]
1918+
fn get_funding_txid(&self) -> Option<Txid> {
1919+
self.channel_transaction_parameters.funding_outpoint.map(|txo| txo.txid)
1920+
}
1921+
19171922
fn get_holder_selected_contest_delay(&self) -> u16 {
19181923
self.channel_transaction_parameters.holder_selected_contest_delay
19191924
}

0 commit comments

Comments
 (0)