Commit 9deec1d
committed
hsmd: refactor hsmd_init
Add preapprove_check capabilities:
WIRE_HSMD_PREAPPROVE_INCOICE_CHECK and
WIRE_HSMD_PREAPPROVE_KEYSEND_CHECK to the capabilities array
if dev_no_preapprove_check is not set.
Do not assume those occupy the last two slots in the array.
Changelog-None
Signed-off-by: Lagrang3 <lagrang3@protonmail.com>1 parent 5cfad6b commit 9deec1d
1 file changed
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2334 | 2334 | | |
2335 | 2335 | | |
2336 | 2336 | | |
2337 | | - | |
2338 | | - | |
2339 | 2337 | | |
2340 | | - | |
| 2338 | + | |
2341 | 2339 | | |
2342 | 2340 | | |
2343 | 2341 | | |
| |||
2460 | 2458 | | |
2461 | 2459 | | |
2462 | 2460 | | |
2463 | | - | |
2464 | | - | |
2465 | | - | |
2466 | | - | |
2467 | | - | |
2468 | | - | |
2469 | | - | |
2470 | | - | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
2471 | 2466 | | |
2472 | 2467 | | |
2473 | 2468 | | |
| |||
0 commit comments