Skip to content

Commit adf1872

Browse files
committed
f undo bad change
1 parent 9ae79ca commit adf1872

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/scoring.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2154,11 +2154,11 @@ mod tests {
21542154
};
21552155

21562156
let params = ProbabilisticScoringParameters {
2157-
considered_impossible_penalty_msat: 42_420,
2157+
liquidity_penalty_multiplier_msat: 40_000,
21582158
..ProbabilisticScoringParameters::zero_penalty()
21592159
};
21602160
let scorer = ProbabilisticScorer::new(params, &network_graph, &logger);
2161-
assert_eq!(scorer.channel_penalty_msat(42, &source, &target, usage), 42_420);
2161+
assert_eq!(scorer.channel_penalty_msat(42, &source, &target, usage), 80_000);
21622162
}
21632163

21642164
#[test]

0 commit comments

Comments
 (0)