projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Penalize failed channels in Scorer
[rust-lightning]
/
fuzz
/
src
/
router.rs
diff --git
a/fuzz/src/router.rs
b/fuzz/src/router.rs
index 7f7d9585cc279df031ad14304272fae6782fdfca..abd83fa58c669265d5096a9e6ac526fc1316324d 100644
(file)
--- a/
fuzz/src/router.rs
+++ b/
fuzz/src/router.rs
@@
-248,7
+248,7
@@
pub fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
}]));
}
}
- let scorer = Scorer::
new
(0);
+ let scorer = Scorer::
with_fixed_penalty
(0);
for target in node_pks.iter() {
let params = RouteParameters {
payee: Payee::new(*target).with_route_hints(last_hops.clone()),