Skip to content

Commit 37319a6

Browse files
committed
Fix build warning
1 parent 164c855 commit 37319a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/scoring.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3442,7 +3442,7 @@ mod tests {
34423442
Some(([0; 32], [0; 32])));
34433443
assert_eq!(scorer.historical_estimated_payment_success_probability(42, &target, 1, &params), None);
34443444

3445-
let mut usage = ChannelUsage {
3445+
let usage = ChannelUsage {
34463446
amount_msat: 100,
34473447
inflight_htlc_msat: 1024,
34483448
effective_capacity: EffectiveCapacity::Total { capacity_msat: 1_024, htlc_maximum_msat: 1_024 },

0 commit comments

Comments
 (0)