commit 1c2c62480d62d9b37bd7a01f0de8850dc3ffdf44
parent 565c53e05496fe2003a0ad8a6ccb3565021052a7
Author: ThomasV <thomasv@gitorious>
Date: Thu, 17 May 2012 08:49:30 +0200
fix: password on creation
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/electrum b/electrum
@@ -172,6 +172,9 @@ if __name__ == '__main__':
print "Equivalently, your wallet seed can be stored and recovered with the following mnemonic code:"
print "\""+' '.join(mnemonic.mn_encode(wallet.seed))+"\""
print "Wallet saved in '%s'"%wallet.path
+
+ if password:
+ wallet.update_password(wallet.seed, None, password)
# check syntax
if cmd in ['payto', 'mktx']: