@@ -2706,7 +2706,7 @@ where L::Target: Logger {
2706
2706
}
2707
2707
}
2708
2708
2709
- // Means we succesfully traversed from the payer to the payee, now
2709
+ // Means we successfully traversed from the payer to the payee, now
2710
2710
// save this path for the payment route. Also, update the liquidity
2711
2711
// remaining on the used hops, so that we take them into account
2712
2712
// while looking for more paths.
@@ -7803,7 +7803,7 @@ mod tests {
7803
7803
fn do_min_htlc_overpay_violates_max_htlc ( blinded_payee : bool ) {
7804
7804
// Test that if overpaying to meet a later hop's min_htlc and causes us to violate an earlier
7805
7805
// 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
7807
7807
// that the used liquidity for a hop was less than its available liquidity limit.
7808
7808
let secp_ctx = Secp256k1 :: new ( ) ;
7809
7809
let logger = Arc :: new ( ln_test_utils:: TestLogger :: new ( ) ) ;
@@ -8452,7 +8452,7 @@ pub(crate) mod bench_utils {
8452
8452
}
8453
8453
break ;
8454
8454
}
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.
8456
8456
score_amt /= 100 ;
8457
8457
}
8458
8458
0 commit comments