mirror of
https://github.com/blockchain-etl/ethereum-etl.git
synced 2026-01-09 13:57:54 -05:00
Merge pull request #449 from vinhloc30796/fix/minor-error-msg
Message: "start_timestamp must be less than end_timestamp"
This commit is contained in:
@@ -40,7 +40,7 @@ class EthService(object):
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user