Skip to content

Commit 9c22a48

Browse files
committed
Fix typo lightning/src/routing/router.rs
1 parent 896477d commit 9c22a48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/routing/router.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2706,7 +2706,7 @@ where L::Target: Logger {
27062706
}
27072707
}
27082708

2709-
// Means we succesfully traversed from the payer to the payee, now
2709+
// Means we successfully traversed from the payer to the payee, now
27102710
// save this path for the payment route. Also, update the liquidity
27112711
// remaining on the used hops, so that we take them into account
27122712
// while looking for more paths.
@@ -7803,7 +7803,7 @@ mod tests {
78037803
fn do_min_htlc_overpay_violates_max_htlc(blinded_payee: bool) {
78047804
// Test that if overpaying to meet a later hop's min_htlc and causes us to violate an earlier
78057805
// hop's max_htlc, we don't consider that candidate hop valid. Previously we would add this hop
7806-
// to `targets` and build an invalid path with it, and subsquently hit a debug panic asserting
7806+
// to `targets` and build an invalid path with it, and subsequently hit a debug panic asserting
78077807
// that the used liquidity for a hop was less than its available liquidity limit.
78087808
let secp_ctx = Secp256k1::new();
78097809
let logger = Arc::new(ln_test_utils::TestLogger::new());
@@ -8452,7 +8452,7 @@ pub(crate) mod bench_utils {
84528452
}
84538453
break;
84548454
}
8455-
// If we couldn't find a path with a higer amount, reduce and try again.
8455+
// If we couldn't find a path with a higher amount, reduce and try again.
84568456
score_amt /= 100;
84578457
}
84588458

0 commit comments

Comments
 (0)