Skip to content

Commit

Permalink
Merge pull request #3258 from TheBlueMatt/2024-08-default-for-bindings
Browse files Browse the repository at this point in the history
Consistently pass `DefaultRouter::new` `Default` scoring parameters
  • Loading branch information
TheBlueMatt authored Aug 20, 2024
2 parents b2cdc2c + 841e9de commit 3605777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/util/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl<'a> TestRouter<'a> {
) -> Self {
let entropy_source = Arc::new(RandomBytes::new([42; 32]));
Self {
router: DefaultRouter::new(network_graph.clone(), logger, entropy_source, scorer, ()),
router: DefaultRouter::new(network_graph.clone(), logger, entropy_source, scorer, Default::default()),
network_graph,
next_routes: Mutex::new(VecDeque::new()),
next_blinded_payment_paths: Mutex::new(Vec::new()),
Expand Down

0 comments on commit 3605777

Please sign in to comment.