From 3924b28cc308fda0d6f4b99562b944712351f3ba Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 1 Aug 2022 09:42:36 -0400 Subject: [PATCH] raise not implemented error when importing unencrypted wallet --- lbry/extras/daemon/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index 33ef1271d..e701fbe62 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -1428,7 +1428,7 @@ class Daemon(metaclass=JSONRPCServerType): """ if data.strip().startswith("{"): - print("passwordless use is not implemented yet") + raise NotImplementedError("unencrypted wallet import is not implemented yet") else: wallet = self.wallet_manager.get_wallet_or_default(wallet_id) added_accounts, merged_accounts = wallet.merge(self.wallet_manager, password, data)