]> git.bitcoin.ninja Git - rust-lightning/commit
Use `Default::default()` to construct `()` as score-updating param
authorMatt Corallo <git@bluematt.me>
Thu, 21 Sep 2023 22:22:18 +0000 (22:22 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 1 Oct 2023 00:05:01 +0000 (00:05 +0000)
commit26c1639ab69d6780c97a118f09e42cb42304088a
treea7781c3a2b9fd621981baee20bd5721dd4537830
parent20f287f4392e7bdb5e83793d4024f4dc5a29ce58
Use `Default::default()` to construct `()` as score-updating param

In 6b0d94a3029f74de3a7542cbba0d48c2f7e5866b we switched most tests
to `Default::default()` for scoring parameters passed to
route-fetching. Here we do the same for the scoring parameters when
passed to score-updating.
lightning-background-processor/src/lib.rs
lightning/src/util/test_utils.rs