Skip to content

Commit

Permalink
fix: typo in query
Browse files Browse the repository at this point in the history
Signed-off-by: Elias Van Ootegem <[email protected]>
  • Loading branch information
EVODelavega committed Sep 13, 2024
1 parent 9399e15 commit 2a9ed77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datanode/sqlstore/funding_payments.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ func (fp *FundingPayments) Add(
values ($1, $2, $3, $4, $5, $6, $7)
ON CONFLICT (party_id, market_id, vega_time) DO UPDATE SET
funding_period_seq=EXCLUDED.funding_period_seq,
amount=EXCLUDED.amount
tx_hash=EXCLUDED.tx_hash
amount=EXCLUDED.amount,
tx_hash=EXCLUDED.tx_hash,
loss_socialisation_amount=EXCLUDED.loss_socialisation_amount`,
v.MarketID, v.PartyID, v.FundingPeriodSeq, v.Amount, v.VegaTime, v.TxHash, v.LossSocialisationAmount)
if err != nil {
Expand Down

0 comments on commit 2a9ed77

Please sign in to comment.