Skip to content

Commit

Permalink
Merge pull request #449 from vinhloc30796/fix/minor-error-msg
Browse files Browse the repository at this point in the history
Message: "start_timestamp must be less than end_timestamp"
  • Loading branch information
medvedev1088 committed Jun 1, 2023
2 parents 87b1669 + f0e4302 commit 1a0a8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethereumetl/service/eth_service.py
Expand Up @@ -40,7 +40,7 @@ def get_block_range_for_timestamps(self, start_timestamp, end_timestamp):
start_timestamp = int(start_timestamp)
end_timestamp = int(end_timestamp)
if start_timestamp > end_timestamp:
raise ValueError('start_timestamp must be greater or equal to end_timestamp')
raise ValueError('start_timestamp must be lesser than end_timestamp')

try:
start_block_bounds = self._graph_operations.get_bounds_for_y_coordinate(start_timestamp)
Expand Down

0 comments on commit 1a0a8cf

Please sign in to comment.