Skip to content

Commit 5dfb6d9

Browse files
committed
f - Penalize 1024 sats instead of 1024 msats
1 parent 331824f commit 5dfb6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/scorer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl Default for ScoringParameters {
123123
fn default() -> Self {
124124
Self {
125125
base_penalty_msat: 500,
126-
failure_penalty_msat: 1024,
126+
failure_penalty_msat: 1024 * 1000,
127127
#[cfg(not(feature = "no-std"))]
128128
failure_penalty_half_life: Duration::from_secs(3600),
129129
}

0 commit comments

Comments
 (0)