Skip to content

Commit a07e362

Browse files
f use requires_unknown_bits_from
1 parent d3f46c2 commit a07e362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/blinded_path/payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub(super) fn compute_payinfo(
162162
for (_, tlvs) in intermediate_nodes.iter().rev() {
163163
// In the future, we'll want to take the intersection of all supported features for the
164164
// `BlindedPayInfo`, but there are no features in that context right now.
165-
if tlvs.features.requires_unknown_bits() { return Err(()) }
165+
if tlvs.features.requires_unknown_bits_from(&BlindedHopFeatures::empty()) { return Err(()) }
166166

167167
let next_base_fee = tlvs.payment_relay.fee_base_msat as u128;
168168
let next_prop_mil = tlvs.payment_relay.fee_proportional_millionths as u128;

0 commit comments

Comments
 (0)