diff --git a/slither/solc_parsing/slither_compilation_unit_solc.py b/slither/solc_parsing/slither_compilation_unit_solc.py index de8725b94..21dbfff70 100644 --- a/slither/solc_parsing/slither_compilation_unit_solc.py +++ b/slither/solc_parsing/slither_compilation_unit_solc.py @@ -458,7 +458,9 @@ Please rename it, this name is reserved for Slither's internals""" if i in contract_parser.remapping: contract_name = contract_parser.remapping[i] if contract_name in contract_parser.underlying_contract.file_scope.renaming: - contract_name = contract_parser.underlying_contract.file_scope.renaming[contract_name] + contract_name = contract_parser.underlying_contract.file_scope.renaming[ + contract_name + ] fathers.append( contract_parser.underlying_contract.file_scope.get_contract_from_name( contract_name