Skip to content

Commit

Permalink
fix ... INSERT INTO hivemapper.split_payments, again!
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Aug 18, 2023
1 parent 27d379b commit f7f0f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/psql.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (p *Psql) HandleSplitPayments(dbBlockID int64, splitPayments []*pb.TokenSpl
return fmt.Errorf("inserting driver mint: %w", err)
}

_, err = p.tx.Exec("INSERT INTO hivemapper.split_payments (transaction_id, fleet_mint_id, driver_mint_id) VALUES ($1, $2, $3,)", dbTransactionID, fleetMintID, driverMintID)
_, err = p.tx.Exec("INSERT INTO hivemapper.split_payments (transaction_id, fleet_mint_id, driver_mint_id) VALUES ($1, $2, $3)", dbTransactionID, fleetMintID, driverMintID)
if err != nil {
return fmt.Errorf("inserting split payment: %w", err)
}
Expand Down

0 comments on commit f7f0f0b

Please sign in to comment.