Skip to content

Commit

Permalink
Merge branch 'develop' into enhancements/general
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrangedk authored Apr 11, 2020
2 parents f1afb44 + dbca6c8 commit 2748ce9
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 2748ce9

Please sign in to comment.