]> git.bitcoin.ninja Git - rust-lightning/commit
Use `Default::default()` for scoring params in tests
authorMatt Corallo <git@bluematt.me>
Fri, 20 Oct 2023 17:34:12 +0000 (17:34 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 21 Oct 2023 14:30:13 +0000 (14:30 +0000)
commit50c55dcf32466e3ccf17acea50697fc664950deb
tree550ad48c81e2b69b769c3732671baaba35184468
parentec4395cf6eae14605cd41fc715a08ac0bcd786c3
Use `Default::default()` for scoring params in tests

In 26c1639ab69d6780c97a118f09e42cb42304088a we switched to using
`Default::default()` to initialize `()` for scoring parameters in
tests. A number of `()`s slipped back in recently, which we replace
here.
lightning/src/ln/payment_tests.rs
lightning/src/routing/router.rs