This commit is contained in:
zeppi 2022-10-13 11:13:54 -04:00 committed by Lex Berezhny
parent d957d46f96
commit 94deaf55df

View file

@ -1346,7 +1346,7 @@ class Daemon(metaclass=JSONRPCServerType):
"""
wallet = self.wallet_manager.get_wallet_or_default(wallet_id)
if (password is None):
if password is None:
return wallet.pack()
encrypted = wallet.pack(password)
return encrypted.decode()