Skip to content

Commit

Permalink
f subset->intersection
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinewallace committed Aug 5, 2023
1 parent 1b7f453 commit dd65361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/blinded_path/payment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ pub(super) fn compute_payinfo(
htlc_minimum_msat: path.iter().map(|(_, tlvs)| tlvs.htlc_minimum_msat()).max().unwrap_or(0),
// TODO: this field isn't present in route blinding encrypted data
htlc_maximum_msat: 21_000_000 * 100_000_000 * 1_000, // Total bitcoin supply
// TODO: when there are blinded hop features, take the subset of them here
// TODO: when there are blinded hop features, take the intersection of them here
features: BlindedHopFeatures::empty(),
})
}
Expand Down

0 comments on commit dd65361

Please sign in to comment.