Skip to content

Commit b04a016

Browse files
committed
f - fix build warning
1 parent 95a82c7 commit b04a016

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,8 @@ impl FundingScope {
17831783
self.channel_transaction_parameters.funding_outpoint
17841784
}
17851785

1786-
pub fn get_funding_txid(&self) -> Option<Txid> {
1786+
#[cfg(splicing)]
1787+
fn get_funding_txid(&self) -> Option<Txid> {
17871788
self.channel_transaction_parameters.funding_outpoint.map(|txo| txo.txid)
17881789
}
17891790

0 commit comments

Comments
 (0)