Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
Merge a905c85 into 6341296
Browse files Browse the repository at this point in the history
  • Loading branch information
localhuman committed Aug 30, 2018
2 parents 6341296 + a905c85 commit e35badf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -11,6 +11,8 @@ All notable changes to this project are documented in this file.
- Update pexpect to 4.6.0 to be compatible with Python 3.7
- Accept incoming node connections, configurable via protocol config file setting
- Fixes vulnerability to RPC invoke functionality that can send node into unclosed loop during 'test' invokes
- Fix issue with opening recently created wallets


[0.7.7] 2018-08-23
------------------
Expand Down
3 changes: 1 addition & 2 deletions neo/Wallets/Wallet.py
Expand Up @@ -111,8 +111,7 @@ def __init__(self, path, passwordKey, create):
raise Exception("Password hash not found in database")

hkey = hashlib.sha256(passwordKey).digest()

if self.LoadStoredData('MigrationState') != '1':
if int(self.LoadStoredData('MigrationState')) != 1:
raise Exception("This wallet is currently vulnerable. Please "
"execute the \"reencrypt_wallet.py\" script "
"on this wallet before continuing")
Expand Down

0 comments on commit e35badf

Please sign in to comment.