Skip to content

Commit

Permalink
Fix: change verification status
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Jan 13, 2025
1 parent 1121a6a commit ea191de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/storage/postgres/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,9 +665,8 @@ func (tx Transaction) UpdateRollup(ctx context.Context, rollup *models.Rollup) e
if rollup.DeFiLama != "" {
query = query.Set("defi_lama = ?", rollup.DeFiLama)
}
if rollup.Verified {
query = query.Set("verified = TRUE")
}

query = query.Set("verified = ?", rollup.Verified)

_, err := query.Exec(ctx)
return err
Expand Down

0 comments on commit ea191de

Please sign in to comment.