]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Move additional score params from `&()` to `Default`
authorMatt Corallo <git@bluematt.me>
Tue, 23 Jan 2024 06:19:24 +0000 (06:19 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 22 Apr 2024 21:57:48 +0000 (21:57 +0000)
commit76bdd0020f9660e63b83bff86a200dbd61dabd17
treeabd7244e15e57d8c597ad72592759d46d1c29ee5
parent2855c74c65fa1adfa1099b586de8c21177b01218
[bindings] Move additional score params from `&()` to `Default`

In 26c1639ab69d6780c97a118f09e42cb42304088a (and later in
50c55dcf32466e3ccf17acea50697fc664950deb) 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/util/test_utils.rs