wallet: out "wrong_funding" information in the db for persistence.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-03-16 06:55:15 +10:30
parent 30145209a9
commit cce280400c
5 changed files with 159 additions and 122 deletions

View File

@@ -1323,6 +1323,8 @@ static bool wallet_channels_load_active(struct wallet *w)
", htlc_basepoint_local" // 54
", delayed_payment_basepoint_local" // 55
", funding_pubkey_local" // 56
", shutdown_wrong_txid" // 57
", shutdown_wrong_outnum" // 58
" FROM channels"
" WHERE state != ?;")); //? 0
db_bind_int(stmt, 0, CLOSED);