]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Remove trailing whitespace in get_route
authorValentine Wallace <vwallace@protonmail.com>
Tue, 12 Sep 2023 19:01:53 +0000 (15:01 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 27 Sep 2023 13:37:21 +0000 (09:37 -0400)
Because my text editor loves to do that.

lightning/src/routing/router.rs

index 53bd92434d5376fef3fa32245a2deb60b786acf8..b435c2e1cbb26c70fdb9ec6f5a3dc8c03f9549c2 100644 (file)
@@ -2888,7 +2888,7 @@ mod tests {
                        Arc::clone(&logger), &scorer, &Default::default(), &random_seed_bytes) {
                                assert_eq!(err, "First hop cannot have our_node_pubkey as a destination.");
                } else { panic!(); }
+
                let route = get_route(&our_id, &route_params, &network_graph.read_only(), None,
                        Arc::clone(&logger), &scorer, &Default::default(), &random_seed_bytes).unwrap();
                assert_eq!(route.paths[0].hops.len(), 2);