Fix build warning

This commit is contained in:
Jeffrey Czyz 2023-12-15 15:11:51 -06:00
parent 164c8553e5
commit 37319a6193
No known key found for this signature in database
GPG Key ID: 3A4E08275D5E96D2

View File

@ -3442,7 +3442,7 @@ mod tests {
Some(([0; 32], [0; 32])));
assert_eq!(scorer.historical_estimated_payment_success_probability(42, &target, 1, &params), None);
let mut usage = ChannelUsage {
let usage = ChannelUsage {
amount_msat: 100,
inflight_htlc_msat: 1024,
effective_capacity: EffectiveCapacity::Total { capacity_msat: 1_024, htlc_maximum_msat: 1_024 },