diff --git a/lightning/src/blinded_path/payment.rs b/lightning/src/blinded_path/payment.rs index e7800fc98a5..446841817e5 100644 --- a/lightning/src/blinded_path/payment.rs +++ b/lightning/src/blinded_path/payment.rs @@ -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(), })