rgb-cln/wallet
Rusty Russell 881d7efd6e wallet: don't BROKEN log id payments.total_msat is null.
This was changed by mistake in 23fafe98e3b4f4e15cdf764e1346d813d1eb8039: if
it's null we turn it into 0 (which is what the default call does, but it
does log BROKEN about it!):

```
2023-08-03T14:10:49.001Z **BROKEN** lightningd: Accessing a null column total_msat/15 in query SELECT  id, status, destination, msatoshi, payment_hash, timestamp, payment_preimage, path_secrets, route_nodes, route_channels, msatoshi_sent, description, bolt11, paydescription, failonionreply, total_msat, partid, local_invreq_id, groupid, completed_at FROM payments ORDER BY id;
```

Fixes: #6501
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-08-04 20:31:14 +09:30
..
test lightningd: pass signed tx through to close callback. 2023-08-02 07:09:28 +09:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
Makefile wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
db.c channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
db.h lightningd: migrate (and delete) old commando runes. 2023-07-25 14:47:12 +09:30
invoices.c lightningd: fix crash on startup expirations. 2023-07-31 20:42:31 +09:30
invoices.h lightningd: fix crash on startup expirations. 2023-07-31 20:42:31 +09:30
psbt_fixup.c wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
psbt_fixup.h wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
reservation.c Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
txfilter.c txfilter_add_derkey: track p2tr scripts 2023-07-11 11:41:15 +09:30
txfilter.h txfilter_add_derkey: track p2tr scripts 2023-07-11 11:41:15 +09:30
wallet.c wallet: don't BROKEN log id payments.total_msat is null. 2023-08-04 20:31:14 +09:30
wallet.h channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
walletrpc.c Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
walletrpc.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30