mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 15:44:21 +01:00
db: Set the failonion on channel_htlcs if is is not set
This commit is contained in:
committed by
Rusty Russell
parent
fbaf8aa6d9
commit
2c1411a70b
@@ -674,6 +674,7 @@ static struct migration dbmigrations[] = {
|
||||
* it cuts down the time by 80%. */
|
||||
{SQL("CREATE INDEX forwarded_payments_out_htlc_id"
|
||||
" ON forwarded_payments (out_htlc_id);"), NULL},
|
||||
{SQL("UPDATE channel_htlcs SET malformed_onion = 0 WHERE malformed_onion IS NULL"), NULL},
|
||||
};
|
||||
|
||||
/* Leak tracking. */
|
||||
|
||||
Reference in New Issue
Block a user