Skip to content

Commit

Permalink
Only 3 question marks for 4 variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hMsats authored and vincenzopalazzo committed Sep 26, 2023
1 parent 577161a commit dc16f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/wallet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dc16f34

Please sign in to comment.