Skip to content

Commit

Permalink
Fix manager_client add_contract
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Feb 24, 2020
1 parent c095476 commit 331dd10
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions skale/manager_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ def init_upgradeable_contract(self, contract_info, abi):
def add_lib_contract(self, name, contract_class, abi, contract_address=None):
address = contract_address or self.get_contract_address_by_name(abi, name)
logger.info(f'Initialized: {name} at {address}')
contract_abi = self.get_contract_abi_by_name(abi, name)
self.add_contract(name, contract_class(self, name, address, contract_abi))
if name == 'dkg': # todo: tmp fix
contract_abi = self.get_contract_abi_by_name(abi, 'd_k_g')
else:
Expand Down

0 comments on commit 331dd10

Please sign in to comment.