projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1197 from jkczyz/2021-11-score-successful-payment-path
[rust-lightning]
/
lightning
/
src
/
routing
/
router.rs
diff --git
a/lightning/src/routing/router.rs
b/lightning/src/routing/router.rs
index 00c3ee6bcebc947c5ba44b09ab1b5812f14a7406..cd7d62e6686ed9628d455f5b548ff17a1cfdf091 100644
(file)
--- a/
lightning/src/routing/router.rs
+++ b/
lightning/src/routing/router.rs
@@
-4665,6
+4665,7
@@
mod tests {
}
fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
}
fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
+ fn payment_path_successful(&mut self, _path: &[&RouteHop]) {}
}
struct BadNodeScorer {
}
struct BadNodeScorer {
@@
-4682,6
+4683,7
@@
mod tests {
}
fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
}
fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
+ fn payment_path_successful(&mut self, _path: &[&RouteHop]) {}
}
#[test]
}
#[test]