From 0813789c520b2bc40e8caf8a28ea27f82b345898 Mon Sep 17 00:00:00 2001 From: Josselin Feist Date: Wed, 27 Jul 2022 12:13:40 +0200 Subject: [PATCH] Fix contract_kind --- slither/solc_parsing/declarations/contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/solc_parsing/declarations/contract.py b/slither/solc_parsing/declarations/contract.py index efc53f2aa..1d56d5f2f 100644 --- a/slither/solc_parsing/declarations/contract.py +++ b/slither/solc_parsing/declarations/contract.py @@ -157,7 +157,7 @@ class ContractSolc(CallerContextExpression): if "contractKind" in attributes: if attributes["contractKind"] == "interface": self._contract.is_interface = True - self._contract.kind = attributes["contractKind"] + self._contract.contract_kind = attributes["contractKind"] self._linearized_base_contracts = attributes["linearizedBaseContracts"] # self._contract.fullyImplemented = attributes["fullyImplemented"]