Skip to content

Commit 9c397a7

Browse files
authored
Merge branch 'crytic:master' into dev-remaps
2 parents 6bdc8e3 + c0ad9f5 commit 9c397a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crytic_compile/platform/etherscan.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,9 @@ def _convert_version(version: str) -> str:
496496
Returns:
497497
str: converted version
498498
"""
499-
return version[1 : version.find("+")]
499+
if "+" in version:
500+
return version[1 : version.find("+")]
501+
return version[1:]
500502

501503

502504
def _sanitize_remappings(

0 commit comments

Comments
 (0)