diff --git a/contractstorage.py b/contractstorage.py index 1f26d481..a296d1f4 100644 --- a/contractstorage.py +++ b/contractstorage.py @@ -67,13 +67,6 @@ class ContractStorage(persistent.Persistent): blockNum -= 1 - def get_contract_code_by_address(self, address): - - contract_hash = self.address_to_hash_map(address) - - return self.contracts[contract_hash] - - def search(self, expression, callback_func): matches = re.findall(r'func\[([a-zA-Z0-9\s,()]+)\]', expression)