pull/1522/head
Josselin Feist 2 years ago
parent c75278f2f5
commit e353256f52
  1. 2
      slither/solc_parsing/declarations/contract.py

@ -716,7 +716,7 @@ class ContractSolc(CallerContextExpression):
if "@custom:security isUpgradeable" in candidate:
self._contract.is_upgradeable = True
version_name = re.search(r'@custom:version name=([\w-]+)', candidate)
version_name = re.search(r"@custom:version name=([\w-]+)", candidate)
if version_name:
self._contract.upgradeable_version = version_name.group(1)

Loading…
Cancel
Save