Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
voith authored Oct 7, 2018
1 parent 793da8d commit fad4652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion populus/utils/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def is_account_locked(web3, account):
if isinstance(web3.providers[0], EthereumTesterProvider):
return not any((is_same_address(account, a) for a in web3.eth.accounts[:10]))
try:
web3.eth.sign(w3.eth.accounts[1], text='simple-test-data')
web3.eth.sign(account, text='simple-test-data')
except ValueError as err:
return 'account is locked' in str(err)
else:
Expand Down

0 comments on commit fad4652

Please sign in to comment.