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.