X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Frouting%2Frouter.rs;h=cd7d62e6686ed9628d455f5b548ff17a1cfdf091;hb=c36bf9249978dce2b72b3b67d01e22c6c8d78431;hp=00c3ee6bcebc947c5ba44b09ab1b5812f14a7406;hpb=0cdea66b0e73d45b2a137eed145a294b7d713cc4;p=rust-lightning diff --git a/lightning/src/routing/router.rs b/lightning/src/routing/router.rs index 00c3ee6b..cd7d62e6 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]