Skip to content

Commit 673eb60

Browse files
committed
f nits
1 parent 9f2dbba commit 673eb60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/routing/scoring.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,7 @@ mod tests {
21362136
}
21372137

21382138
#[test]
2139-
fn ignores_channels_after_removed_channels() {
2139+
fn ignores_channels_after_removed_failed_channel() {
21402140
// Previously, if we'd tried to send over a channel which was removed from the network
21412141
// graph before we call `payment_path_failed` (which is the default if the we get a "no
21422142
// such channel" error in the `InvoicePayer`), we would call `failed_downstream` on all
@@ -2176,7 +2176,6 @@ mod tests {
21762176
};
21772177
let mut scorer = ProbabilisticScorer::new(params, &network_graph, &logger);
21782178

2179-
21802179
let usage = ChannelUsage {
21812180
amount_msat: 250,
21822181
inflight_htlc_msat: 0,

0 commit comments

Comments
 (0)