Score successful payment paths
[rust-lightning] / lightning / src / routing / router.rs
index 00c3ee6bcebc947c5ba44b09ab1b5812f14a7406..cd7d62e6686ed9628d455f5b548ff17a1cfdf091 100644 (file)
@@ -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]