]> 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>
Tue, 23 Jan 2024 19:51:04 +0000 (19:51 +0000)
commit0253d69e3101e6b3c6b6c19e61a5ea639026322c
tree89150e3367d82c76a1cec4fe4d11a8f5994c9145
parent33ada75840d8a649a9cfc863ef35cc4ddcfaf8b6
[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