From dc16f3411be3fa1c89d7f94f4684aa3b6aa6ba8a Mon Sep 17 00:00:00 2001 From: hMsats <74196711+hMsats@users.noreply.github.com> Date: Fri, 22 Sep 2023 12:12:35 +0200 Subject: [PATCH] Only 3 question marks for 4 variables --- wallet/wallet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/wallet.c b/wallet/wallet.c index c7318c5d6ce8..962bcf9113a0 100644 --- a/wallet/wallet.c +++ b/wallet/wallet.c @@ -3865,7 +3865,7 @@ void wallet_htlc_sigs_add(struct wallet *w, u64 channel_id, stmt = db_prepare_v2(w->db, SQL("INSERT INTO htlc_sigs (channelid," " inflight_tx_id, inflight_tx_outnum," - " signature) VALUES (?, ?, ?)")); + " signature) VALUES (?, ?, ?, ?)")); db_bind_u64(stmt, channel_id); db_bind_txid(stmt, &inflight_outpoint.txid); db_bind_int(stmt, inflight_outpoint.n);