fix for wallet_remove command
This commit is contained in:
parent
4a6af0b938
commit
02b01b89f2
1 changed files with 2 additions and 1 deletions
|
@ -1138,7 +1138,8 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
Returns: {Wallet}
|
||||
"""
|
||||
wallet = self.wallet_manager.get_wallet_or_default(wallet_id)
|
||||
return self.wallet_manager.wallets.pop(wallet)
|
||||
self.wallet_manager.wallets.remove(wallet)
|
||||
return wallet
|
||||
|
||||
ACCOUNT_DOC = """
|
||||
Create, modify and inspect wallet accounts.
|
||||
|
|
Loading…
Add table
Reference in a new issue