1
0

commands: fix "close_wallet" cmd, which was deadlocking

fixes #7348
This commit is contained in:
SomberNight
2021-06-17 12:35:31 +02:00
parent 66628c0bad
commit 66f68d6b1f
2 changed files with 8 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ class Commands:
@command('n')
async def close_wallet(self, wallet_path=None):
"""Close wallet"""
return self.daemon.stop_wallet(wallet_path)
return await self.daemon._stop_wallet(wallet_path)
@command('')
async def create(self, passphrase=None, password=None, encrypt_file=True, seed_type=None, wallet_path=None):