X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Frouting%2Frouter.rs;h=e49844383bbceee091e9d42b7262416109b2d484;hb=565559005ec241d8f4f45a373652eb4ee4e13b9c;hp=00c3ee6bcebc947c5ba44b09ab1b5812f14a7406;hpb=1a743672b92a65e3d401a11001354f3b514bf956;p=rust-lightning diff --git a/lightning/src/routing/router.rs b/lightning/src/routing/router.rs index 00c3ee6b..e4984438 100644 --- a/lightning/src/routing/router.rs +++ b/lightning/src/routing/router.rs @@ -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]