Skip to content

Commit 93cdd4a

Browse files
committed
fix(cl_events): add missing on conflict do nothing
1 parent a76ec66 commit 93cdd4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/pkg/exporter/modules/cl_transformers/17_legacy_switch_to_compounding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (d *LegacySwitchToCompoundingEventTransformer) Transform(tx *sqlx.Tx, event
7373
goqu.Or(orConditions...),
7474
goqu.Ex{"version": types.ConsensusLayerEventVersion},
7575
)),
76-
)
76+
).OnConflict(goqu.DoNothing())
7777
query, args, err := ds.Prepared(true).ToSQL()
7878
if err != nil {
7979
return 0, fmt.Errorf("error preparing query: %w", err)

0 commit comments

Comments
 (0)