Skip to content

Commit a6d08fe

Browse files
f fix wrong const
1 parent 5023fe0 commit a6d08fe

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
@@ -201,7 +201,7 @@ pub(super) fn compute_payinfo(
201201
.try_fold(0u16, |acc, delta| acc.checked_add(delta)).ok_or(())?,
202202
htlc_minimum_msat: path.iter().map(|(_, tlvs)| tlvs.htlc_minimum_msat()).max().unwrap_or(0),
203203
// TODO: this field isn't present in route blinding encrypted data
204-
htlc_maximum_msat: 21_000_000 * 1_0000_0000, // Total bitcoin supply
204+
htlc_maximum_msat: 21_000_000 * 100_000_000 * 1_000, // Total bitcoin supply
205205
// TODO: when there are blinded hop features, take the subset of them here
206206
features: BlindedHopFeatures::empty(),
207207
})

0 commit comments

Comments
 (0)