mirror of https://github.com/nucypher/nucypher.git
Merge pull request #1423 from coinfund/bugfix/parity_unlock
Unable to unlock account parity client due to typopull/1427/head
commit
0a6e95c54c
|
@ -358,7 +358,7 @@ class ParityClient(Web3Client):
|
|||
return to_checksum_address(new_account) # cast and validate
|
||||
|
||||
def unlock_account(self, address, password, duration: int = None) -> bool:
|
||||
return self.w3.parity.unlockAccount.unlockAccount(address, password, duration)
|
||||
return self.w3.parity.personal.unlockAccount(address, password, duration)
|
||||
|
||||
def lock_account(self, address):
|
||||
return self.w3.parity.personal.lockAccount(address)
|
||||
|
|
Loading…
Reference in New Issue