Skip to content

Commit 35be56d

Browse files
committed
Remove dual_funding cfg
1 parent 8e5e331 commit 35be56d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3651,7 +3651,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
36513651
/// Check that a balance value meets the channel reserve requirements or violates them (below reserve).
36523652
/// The channel value is an input as opposed to using from self, so that this can be used in case of splicing
36533653
/// to checks with new channel value (before being comitted to it).
3654-
#[cfg(any(dual_funding, splicing))]
3654+
#[cfg(splicing)]
36553655
pub fn check_balance_meets_reserve_requirements(&self, balance: u64, channel_value: u64) -> Result<(), ChannelError> {
36563656
if balance == 0 {
36573657
return Ok(());

0 commit comments

Comments
 (0)