fix: password on creation
authorThomasV <thomasv@gitorious>
Thu, 17 May 2012 06:49:30 +0000 (08:49 +0200)
committerThomasV <thomasv@gitorious>
Thu, 17 May 2012 06:49:30 +0000 (08:49 +0200)
electrum

index 4a0cd83..f4ca003 100755 (executable)
--- 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']: