Skip to content

Commit

Permalink
Merge pull request #139 from skalenetwork/update-to-recent-skale-manager
Browse files Browse the repository at this point in the history
Update to recent beta branch of skale manager
  • Loading branch information
badrogger authored Apr 11, 2020
2 parents e33da4e + 1bb658d commit dbca6c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skale/contracts/delegation/validator_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit dbca6c8

Please sign in to comment.