commit d803e3ab3030141ad5d3a556084e392797045a35
parent 04300ea54594a791c96f879d0d7e67e893b9d68d
Author: Maran <maran.hidskes@gmail.com>
Date: Wed, 1 Aug 2012 21:51:40 +0200
Dont confirm password from command line, patch by ErebusBat
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -267,7 +267,7 @@ if __name__ == '__main__':
# commands needing password
if cmd in protected_commands or ( cmd=='addresses' and options.show_keys):
- password = prompt_password('Password:') if wallet.use_encryption and not is_temporary else None
+ password = prompt_password('Password:', False) if wallet.use_encryption and not is_temporary else None
# check password
try:
wallet.pw_decode( wallet.seed, password)