Fix contract_kind

pull/1308/head
Josselin Feist 2 years ago
parent 68353ef0ec
commit 0813789c52
  1. 2
      slither/solc_parsing/declarations/contract.py

@ -157,7 +157,7 @@ class ContractSolc(CallerContextExpression):
if "contractKind" in attributes: if "contractKind" in attributes:
if attributes["contractKind"] == "interface": if attributes["contractKind"] == "interface":
self._contract.is_interface = True self._contract.is_interface = True
self._contract.kind = attributes["contractKind"] self._contract.contract_kind = attributes["contractKind"]
self._linearized_base_contracts = attributes["linearizedBaseContracts"] self._linearized_base_contracts = attributes["linearizedBaseContracts"]
# self._contract.fullyImplemented = attributes["fullyImplemented"] # self._contract.fullyImplemented = attributes["fullyImplemented"]

Loading…
Cancel
Save