From 37319a6193b6dbeb1570a29dc3ed667148095471 Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Fri, 15 Dec 2023 15:11:51 -0600 Subject: [PATCH] Fix build warning --- lightning/src/routing/scoring.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index 12ffdecec..6ace8681a 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -3442,7 +3442,7 @@ mod tests { Some(([0; 32], [0; 32]))); assert_eq!(scorer.historical_estimated_payment_success_probability(42, &target, 1, ¶ms), 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 }, -- 2.39.5