From 96da9222ed9205f6604d7362642cedabffd0d078 Mon Sep 17 00:00:00 2001 From: Bernhard Mueller Date: Fri, 29 Sep 2017 17:12:10 +0700 Subject: [PATCH] Remove broken function --- contractstorage.py | 7 ------- 1 file changed, 7 deletions(-) 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)