Files
lightning/wallet
Rusty Russell efeb1bc65b wallet: fix sqlite3 column renaming since db backup merge.
Because db->conn is a void *, changing it (from a direct pointer to
a pointer to a pair of pointers) did not break compile if one place hadn't
been update.

The result was a confusing failure: sqlite3 complaining about API misuse,
since the db->conn pointer was not a valid db handle any more.

This is one case where avoiding a void * is hard: we might not even
have the postgresql types, since it might not be installed.  But a union
would have been superior here.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-11-18 12:53:17 +10:30
..
2021-11-17 10:51:48 +10:30
2021-10-15 12:09:36 +02:00
2021-10-15 12:09:36 +02:00
2021-10-15 12:09:36 +02:00
2021-10-15 12:09:36 +02:00
2020-10-20 12:50:31 +10:30