Skip to content

Commit 1a0a8cf

Browse files
authored
Merge pull request #449 from vinhloc30796/fix/minor-error-msg
Message: "start_timestamp must be less than end_timestamp"
2 parents 87b1669 + f0e4302 commit 1a0a8cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereumetl/service/eth_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_block_range_for_timestamps(self, start_timestamp, end_timestamp):
4040
start_timestamp = int(start_timestamp)
4141
end_timestamp = int(end_timestamp)
4242
if start_timestamp > end_timestamp:
43-
raise ValueError('start_timestamp must be greater or equal to end_timestamp')
43+
raise ValueError('start_timestamp must be lesser than end_timestamp')
4444

4545
try:
4646
start_block_bounds = self._graph_operations.get_bounds_for_y_coordinate(start_timestamp)

0 commit comments

Comments
 (0)