diff --git a/crytic_compile/platform/etherscan.py b/crytic_compile/platform/etherscan.py index a8f54b4..da53c0a 100644 --- a/crytic_compile/platform/etherscan.py +++ b/crytic_compile/platform/etherscan.py @@ -474,7 +474,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(