fix #492
This commit is contained in:
5
electrum
5
electrum
@@ -275,7 +275,10 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# commands needing password
|
# commands needing password
|
||||||
if cmd.requires_password:
|
if cmd.requires_password:
|
||||||
if wallet.use_encryption:
|
if wallet.seed == '':
|
||||||
|
seed = ''
|
||||||
|
password = None
|
||||||
|
elif wallet.use_encryption:
|
||||||
password = prompt_password('Password:', False)
|
password = prompt_password('Password:', False)
|
||||||
if not password:
|
if not password:
|
||||||
print_msg("Error: Password required")
|
print_msg("Error: Password required")
|
||||||
|
|||||||
Reference in New Issue
Block a user