Skip to content

Commit fd2e03d

Browse files
committed
f add assertion
1 parent d53c05c commit fd2e03d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/events/bump_transaction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ impl AnchorDescriptor {
9696
let channel_params = self.channel_derivation_parameters.transaction_parameters.as_holder_broadcastable();
9797
chan_utils::build_keyed_anchor_input_witness(&channel_params.broadcaster_pubkeys().funding_pubkey, signature)
9898
} else {
99+
debug_assert!(tx_params.channel_type_features.supports_zero_fee_commitments());
99100
Witness::from_slice(&[&[]])
100101
}
101102
}

0 commit comments

Comments
 (0)