diff --git a/neo/Implementations/Wallets/peewee/UserWallet.py b/neo/Implementations/Wallets/peewee/UserWallet.py index 0120176cf..f92be6483 100644 --- a/neo/Implementations/Wallets/peewee/UserWallet.py +++ b/neo/Implementations/Wallets/peewee/UserWallet.py @@ -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: