Commit 6b0d94a
committed
Use
In bindings, we can't use unbounded generic types, and thus have to
rip out the `ScoreParams` and replace them with static
`ProbabilisticScoringFeeParams` universally. To make this easier,
using `Default::default()` everywhere allows the type to change out
from under the test without the test needing to change.Default::default() to construct () as a test scoring param1 parent f2fe95e commit 6b0d94a
File tree
7 files changed
+124
-124
lines changed- lightning/src
- ln
- routing
7 files changed
+124
-124
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10190 | 10190 | | |
10191 | 10191 | | |
10192 | 10192 | | |
10193 | | - | |
| 10193 | + | |
10194 | 10194 | | |
10195 | 10195 | | |
10196 | 10196 | | |
| |||
10224 | 10224 | | |
10225 | 10225 | | |
10226 | 10226 | | |
10227 | | - | |
| 10227 | + | |
10228 | 10228 | | |
10229 | 10229 | | |
10230 | 10230 | | |
| |||
10281 | 10281 | | |
10282 | 10282 | | |
10283 | 10283 | | |
10284 | | - | |
| 10284 | + | |
10285 | 10285 | | |
10286 | 10286 | | |
10287 | 10287 | | |
| |||
10332 | 10332 | | |
10333 | 10333 | | |
10334 | 10334 | | |
10335 | | - | |
| 10335 | + | |
10336 | 10336 | | |
10337 | 10337 | | |
10338 | 10338 | | |
| |||
10377 | 10377 | | |
10378 | 10378 | | |
10379 | 10379 | | |
10380 | | - | |
| 10380 | + | |
10381 | 10381 | | |
10382 | 10382 | | |
10383 | 10383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1854 | 1854 | | |
1855 | 1855 | | |
1856 | 1856 | | |
1857 | | - | |
| 1857 | + | |
1858 | 1858 | | |
1859 | 1859 | | |
1860 | 1860 | | |
| |||
2506 | 2506 | | |
2507 | 2507 | | |
2508 | 2508 | | |
2509 | | - | |
| 2509 | + | |
2510 | 2510 | | |
2511 | 2511 | | |
2512 | 2512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7231 | 7231 | | |
7232 | 7232 | | |
7233 | 7233 | | |
7234 | | - | |
| 7234 | + | |
7235 | 7235 | | |
7236 | 7236 | | |
7237 | 7237 | | |
| |||
7489 | 7489 | | |
7490 | 7490 | | |
7491 | 7491 | | |
7492 | | - | |
| 7492 | + | |
7493 | 7493 | | |
7494 | 7494 | | |
7495 | 7495 | | |
7496 | 7496 | | |
7497 | | - | |
| 7497 | + | |
7498 | 7498 | | |
7499 | 7499 | | |
7500 | 7500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
| 1055 | + | |
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
1106 | 1106 | | |
1107 | 1107 | | |
1108 | 1108 | | |
1109 | | - | |
| 1109 | + | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
| |||
1750 | 1750 | | |
1751 | 1751 | | |
1752 | 1752 | | |
1753 | | - | |
1754 | | - | |
1755 | | - | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
1756 | 1756 | | |
1757 | 1757 | | |
1758 | 1758 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| |||
0 commit comments