reformatted

pull/2306/head
Tigran Avagyan 9 months ago
parent 247a90edbc
commit 50f1b98b94
  1. 4
      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

Loading…
Cancel
Save