save wallet after creation

This commit is contained in:
ThomasV 2012-02-21 17:13:34 +01:00
parent 114f6150be
commit 01abc06cd6

View file

@ -139,6 +139,7 @@ if __name__ == '__main__':
print "found no history for this wallet" print "found no history for this wallet"
else: else:
wallet.new_seed(None) wallet.new_seed(None)
wallet.save()
print "Your wallet generation seed is: " + wallet.seed print "Your wallet generation seed is: " + wallet.seed
print "Please keep it in a safe place; if you lose it, you will not be able to restore your wallet." print "Please keep it in a safe place; if you lose it, you will not be able to restore your wallet."
print "Equivalently, your wallet seed can be stored and recovered with the following mnemonic code:" print "Equivalently, your wallet seed can be stored and recovered with the following mnemonic code:"