1
0

fix password command eval type

This commit is contained in:
f321x
2025-04-16 17:48:40 +02:00
parent c0ddce4586
commit 1e5187b9df

View File

@@ -339,7 +339,7 @@ class Commands(Logger):
Change wallet password.
arg:bool:encrypt_file:Whether the file on disk should be encrypted with the provided password (default=true)
arg:bool:new_password:New Password
arg:str:new_password:New Password
"""
if wallet.storage.is_encrypted_with_hw_device() and new_password:
raise UserFacingException("Can't change the password of a wallet encrypted with a hw device.")