Skip to content

Commit

Permalink
db: Set the failonion on channel_htlcs if is is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker authored and rustyrussell committed Feb 25, 2021
1 parent fbaf8aa commit 2c1411a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wallet/db.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 2c1411a

Please sign in to comment.