Skip to content

Commit 4869a01

Browse files
committed
f indent
1 parent 4a21a6c commit 4869a01

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,7 @@ fn max_htlc_from_capacity(capacity: EffectiveCapacity, max_channel_saturation_po
482482
EffectiveCapacity::Total { capacity_msat, htlc_maximum_msat: None } =>
483483
capacity_msat.checked_shr(saturation_shift).unwrap_or(0),
484484
EffectiveCapacity::Total { capacity_msat, htlc_maximum_msat: Some(htlc_max) } =>
485-
cmp::min(
486-
capacity_msat.checked_shr(saturation_shift).unwrap_or(0),
487-
htlc_max),
485+
cmp::min(capacity_msat.checked_shr(saturation_shift).unwrap_or(0), htlc_max),
488486
}
489487
}
490488

0 commit comments

Comments
 (0)