Skip to content

Commit

Permalink
use pq.ByteaArray
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Pletka <[email protected]>
  • Loading branch information
remoterami and Eisei24 authored Sep 13, 2023
1 parent 200ecef commit 7611058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/rocketpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ func (rp *RocketpoolExporter) SaveDAOMembers() error {

_, err = tx.Exec(`
DELETE FROM rocketpool_dao_members
WHERE NOT address = ANY($1)`, addresses)
WHERE NOT address = ANY($1)`, pq.ByteaArray(addresses))

Check failure on line 1163 in exporter/rocketpool.go

View workflow job for this annotation

GitHub Actions / Build

undefined: pq

Check failure on line 1163 in exporter/rocketpool.go

View workflow job for this annotation

GitHub Actions / Run CI (ubuntu-latest, 1.20.x)

undefined: pq
if err != nil {
return fmt.Errorf("error deleting from rocketpool_dao_members: %w", err)
}
Expand Down

0 comments on commit 7611058

Please sign in to comment.