]> git.bitcoin.ninja Git - rust-lightning/commit
Consistently pass `DefaultRouter::new` `Default` scoring parameters 2024-08-default-for-bindings
authorMatt Corallo <git@bluematt.me>
Mon, 12 Aug 2024 18:29:59 +0000 (18:29 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 20 Aug 2024 14:33:42 +0000 (14:33 +0000)
commit841e9deae0d02dc232dc3fdcb3dbed0381412bc6
treead632206ba2a5349e9172964217c6805f4df0217
parentf89e963d4bd81042eac67c63817c5eaa60121c85
Consistently pass `DefaultRouter::new` `Default` scoring parameters

In 26c1639ab69d6780c97a118f09e42cb42304088a (and later in
50c55dcf32466e3ccf17acea50697fc664950deb and
fb693ecbf81be0146a81cc7fd95342c403eacaa9) we switched to using
`Default::default()` to initialize `()` for scoring parameters in
tests. One `()`s slipped back in recently, which we replace here.
lightning/src/util/test_utils.rs