From 1bb658d0346c54a0d0254ec9e70f8c1ba55edcf1 Mon Sep 17 00:00:00 2001 From: badrogger Date: Fri, 10 Apr 2020 19:32:32 +0300 Subject: [PATCH] Updatemto recent beta branch of skale manager --- skale/contracts/delegation/validator_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skale/contracts/delegation/validator_service.py b/skale/contracts/delegation/validator_service.py index d783a9f7..617fb8e0 100644 --- a/skale/contracts/delegation/validator_service.py +++ b/skale/contracts/delegation/validator_service.py @@ -91,7 +91,7 @@ def get_linked_addresses_by_validator_address(self, address: str) -> list: :returns: List of node addresses :rtype: list """ - return self.contract.functions.getMyAddresses().call({ + return self.contract.functions.getMyNodesAddresses().call({ 'from': address }) @@ -127,7 +127,7 @@ def validator_id_by_address(self, validator_address: str) -> int: :returns: Validator ID :rtype: int """ - return self.contract.functions.getValidatorId(validator_address).call() + return self.contract.functions.getValidatorIdByNodeAddress(validator_address).call() def get_trusted_validator_ids(self) -> list: """Returns list of trusted validators id.