Skip to content

Commit

Permalink
Merge branch 'crytic:master' into dev-remaps
Browse files Browse the repository at this point in the history
  • Loading branch information
shortdoom authored Feb 7, 2024
2 parents 6bdc8e3 + c0ad9f5 commit 9c397a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crytic_compile/platform/etherscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@ def _convert_version(version: str) -> str:
Returns:
str: converted version
"""
return version[1 : version.find("+")]
if "+" in version:
return version[1 : version.find("+")]
return version[1:]


def _sanitize_remappings(
Expand Down

0 comments on commit 9c397a7

Please sign in to comment.