raise not implemented error when importing unencrypted wallet
This commit is contained in:
parent
020487b6a0
commit
3924b28cc3
1 changed files with 1 additions and 1 deletions
|
@ -1428,7 +1428,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if data.strip().startswith("{"):
|
if data.strip().startswith("{"):
|
||||||
print("passwordless use is not implemented yet")
|
raise NotImplementedError("unencrypted wallet import is not implemented yet")
|
||||||
else:
|
else:
|
||||||
wallet = self.wallet_manager.get_wallet_or_default(wallet_id)
|
wallet = self.wallet_manager.get_wallet_or_default(wallet_id)
|
||||||
added_accounts, merged_accounts = wallet.merge(self.wallet_manager, password, data)
|
added_accounts, merged_accounts = wallet.merge(self.wallet_manager, password, data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue