Skip to content

Commit

Permalink
fix GetRawBatchTimestamps return err
Browse files Browse the repository at this point in the history
  • Loading branch information
agnusmor committed Aug 6, 2024
1 parent 0e552a5 commit b532476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/pgstatestorage/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ func (p *PostgresStorage) GetRawBatchTimestamps(ctx context.Context, batchNumber
if errors.Is(err, pgx.ErrNoRows) {
return nil, nil, nil
}
return batchTimestamp, virtualBatchTimestamp, nil
return batchTimestamp, virtualBatchTimestamp, err
}

// GetVirtualBatchParentHash returns the parent hash of the virtual batch with the given number.
Expand Down

0 comments on commit b532476

Please sign in to comment.