]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Move additional score params from `&()` to `Default` 2024-01-bindings-upstream
authorMatt Corallo <git@bluematt.me>
Tue, 23 Jan 2024 06:19:24 +0000 (06:19 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 30 Jan 2024 23:56:12 +0000 (23:56 +0000)
commitfb693ecbf81be0146a81cc7fd95342c403eacaa9
tree9d58482822b6ebd4ad698d583513c6dcc956b667
parent0a14559297f4d1a7dc63f091e8c477eebc86ef11
[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