rgb-cln/lightningd/test
Rusty Russell 2c2592fe36 lightningd: fix crash on startup expirations.
The wait code assumes ld->wallet is populated, but it's not.  Start the
expiration cycle later.

```
0x7f271a18d08f ??? /build/glibc-SzIz7B/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x5581a27dc082 wait_index_increment lightningd/wait.c:112
0x5581a27e331a invoice_index_inc wallet/invoices.c:738
0x5581a27e3dfe invoice_index_update_status wallet/invoices.c:775
0x5581a27e3ea3 trigger_expiration wallet/invoices.c:185
0x5581a27e3f47 invoices_new wallet/invoices.c:134
0x5581a27e8a2c wallet_new wallet/wallet.c:121
0x5581a27b08b5 main lightningd/lightningd.c:1082
```

Fixes: #6457
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-07-31 20:42:31 +09:30
..
Makefile wire/Makefile: fix missing wire/bolt12_exp_wiregen.c in ALL_C_SOURCES. 2022-10-26 11:29:06 +10:30
run-find_my_abspath.c lightningd: fix crash on startup expirations. 2023-07-31 20:42:31 +09:30
run-invoice-select-inchan.c dual-fund: keep track of aborted requests, seamlessly restart daemon 2023-07-30 15:20:04 +09:30
run-jsonrpc.c trace: First draft of API 2023-07-28 09:21:42 +09:30
run-log-pruning.c lightningd/log: clean up nomenclature. 2023-07-19 19:13:57 +09:30
run-log_filter.c lightningd: extend log-level to support filter per-file. 2023-07-19 19:13:57 +09:30
run-shuffle_fds.c dual-fund: keep track of aborted requests, seamlessly restart daemon 2023-07-30 15:20:04 +09:30