Skip to content

Commit 4617555

Browse files
committed
Fix nits.
1 parent 57cf608 commit 4617555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/router.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4114,7 +4114,7 @@ mod tests {
41144114
}
41154115

41164116
{
4117-
// Attempt to route while setting max_mpp_path_count to 0 results in a failure..
4117+
// Attempt to route while setting max_mpp_path_count to 0 results in a failure.
41184118
let zero_payment_params = payment_params.clone().with_max_mpp_path_count(0);
41194119
if let Err(LightningError{err, action: ErrorAction::IgnoreError}) = get_route(
41204120
&our_id, &zero_payment_params, &network_graph.read_only(), None, 100, 42,
@@ -4124,7 +4124,7 @@ mod tests {
41244124
}
41254125

41264126
{
4127-
// Attempt to route while setting max_mpp_path_count to 3 results in a failure..
4127+
// Attempt to route while setting max_mpp_path_count to 3 results in a failure.
41284128
// This is the case because the minimal_value_contribution_msat would require each path
41294129
// to account for 1/3 of the total value, which is violated by 2 out of 3 paths.
41304130
let fail_payment_params = payment_params.clone().with_max_mpp_path_count(3);

0 commit comments

Comments
 (0)