Merge pull request #9743 from f321x/fix_password_command

cmd: fix password command eval type
This commit is contained in:
ThomasV
2025-04-17 08:26:22 +02:00
committed by GitHub

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.")