X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Frouting%2Frouter.rs;h=cd7d62e6686ed9628d455f5b548ff17a1cfdf091;hb=ea89286569c95c4eb9a692f9aaf9f1e647d012ef;hp=00c3ee6bcebc947c5ba44b09ab1b5812f14a7406;hpb=9fcc626ee4d23a276fc8dd87ddb2538f4d5565f9;p=rust-lightning diff --git a/lightning/src/routing/router.rs b/lightning/src/routing/router.rs index 00c3ee6bc..cd7d62e66 100644 --- 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_successful(&mut self, _path: &[&RouteHop]) {} } struct BadNodeScorer { @@ -4682,6 +4683,7 @@ mod tests { } fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {} + fn payment_path_successful(&mut self, _path: &[&RouteHop]) {} } #[test]