diff --git a/internal/storage/postgres/transaction.go b/internal/storage/postgres/transaction.go index 0cbf24e5..63904202 100644 --- a/internal/storage/postgres/transaction.go +++ b/internal/storage/postgres/transaction.go @@ -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