Skip to content

Commit 1c76f83

Browse files
f subset->intersection
1 parent 2de1c6a commit 1c76f83

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
@@ -192,7 +192,7 @@ pub(super) fn compute_payinfo(
192192
htlc_minimum_msat: path.iter().map(|(_, tlvs)| tlvs.htlc_minimum_msat()).max().unwrap_or(0),
193193
// TODO: this field isn't present in route blinding encrypted data
194194
htlc_maximum_msat: 21_000_000 * 100_000_000 * 1_000, // Total bitcoin supply
195-
// TODO: when there are blinded hop features, take the subset of them here
195+
// TODO: when there are blinded hop features, take the intersection of them here
196196
features: BlindedHopFeatures::empty(),
197197
})
198198
}

0 commit comments

Comments
 (0)