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