Skip to content

Commit

Permalink
update error message for time travel (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper authored Jan 2, 2025
1 parent bddb707 commit 99eb986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def time_travel(
block_delta: int = 12,
) -> None:
if (seconds is None) == (blocks is None):
raise ValueError("One of seconds or blocks should be set")
raise ValueError("One (and only one) of seconds or blocks should be set")
if seconds is not None:
blocks = seconds // block_delta
else:
Expand Down

0 comments on commit 99eb986

Please sign in to comment.