Merge pull request #1218 from TheBlueMatt/2021-12-minor-bindings-tweaks
[rust-lightning] / lightning / src / routing / router.rs
index 00c3ee6bcebc947c5ba44b09ab1b5812f14a7406..e49844383bbceee091e9d42b7262416109b2d484 100644 (file)
@@ -1521,6 +1521,7 @@ mod tests {
                        short_channel_id,
                        channel_value_satoshis: 0,
                        user_channel_id: 0,
+                       balance_msat: 0,
                        outbound_capacity_msat,
                        inbound_capacity_msat: 42,
                        unspendable_punishment_reserve: None,
@@ -4665,6 +4666,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 +4684,7 @@ mod tests {
                }
 
                fn payment_path_failed(&mut self, _path: &[&RouteHop], _short_channel_id: u64) {}
+               fn payment_path_successful(&mut self, _path: &[&RouteHop]) {}
        }
 
        #[test]