Skip to content

Commit b38d28d

Browse files
committed
Add FundingScope::get_funding_txid helper
1 parent a9e3b0b commit b38d28d

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
@@ -2057,6 +2057,11 @@ impl FundingScope {
20572057
self.channel_transaction_parameters.funding_outpoint
20582058
}
20592059

2060+
#[cfg(splicing)]
2061+
fn get_funding_txid(&self) -> Option<Txid> {
2062+
self.channel_transaction_parameters.funding_outpoint.map(|txo| txo.txid)
2063+
}
2064+
20602065
fn get_holder_selected_contest_delay(&self) -> u16 {
20612066
self.channel_transaction_parameters.holder_selected_contest_delay
20622067
}

0 commit comments

Comments
 (0)