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

Commit

Permalink
Merge pull request #31 from hal0x2328/master
Browse files Browse the repository at this point in the history
close existing wallet before creating new one
  • Loading branch information
localhuman committed Oct 12, 2017
2 parents 6b9f94c + 23fcbe0 commit 9b04269
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neo/Implementations/Wallets/peewee/UserWallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(self, path, passwordKey, create):
self.__log.debug("initialized user wallet!! %s " % self)

def BuildDatabase(self):
PWDatabase.Destroy()
PWDatabase.Initialize(self._path)
db = PWDatabase.ContextDB()
try:
Expand Down

0 comments on commit 9b04269

Please sign in to comment.