From ed6fd76b317605b91d9af231d32c38d07d6f3077 Mon Sep 17 00:00:00 2001 From: yse <70684173+hydra-yse@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:23:12 +0100 Subject: [PATCH] fix: adding field to SQL prepare statement (#196) --- postgresql/history_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql/history_store.go b/postgresql/history_store.go index b39cbfe..813d92c 100644 --- a/postgresql/history_store.go +++ b/postgresql/history_store.go @@ -358,7 +358,7 @@ func (s *HistoryStore) AddOpenChannelHtlc(ctx context.Context, htlc *history.Ope , original_amt_msat , incoming_amt_msat , forward_time - ) VALUES ($1, $2, $3, $4, $5, $6, $7) + ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8) `, htlc.NodeId, htlc.PeerId,