From 2c1411a70baec255cb8aa6260bfcf6d40e546254 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Sun, 14 Feb 2021 15:05:24 +0100 Subject: [PATCH] db: Set the failonion on channel_htlcs if is is not set --- wallet/db.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wallet/db.c b/wallet/db.c index efc9bc7b2..6748b6d8e 100644 --- a/wallet/db.c +++ b/wallet/db.c @@ -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. */