Skip to content

Commit

Permalink
f fix wrong const
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinewallace committed Aug 1, 2023
1 parent 6286863 commit fd88452
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 @@ -201,7 +201,7 @@ pub(super) fn compute_payinfo(
.try_fold(0u16, |acc, delta| acc.checked_add(delta)).ok_or(())?,
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 * 1_0000_0000, // Total bitcoin supply
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
features: BlindedHopFeatures::empty(),
})
Expand Down

0 comments on commit fd88452

Please sign in to comment.