electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit b9eb90955495661206deffb1ea15e5442036cc1c
parent 5a3b80cfb2480b33eb21e70586e625a18684f541
Author: thomasv <thomasv@gitorious>
Date:   Thu, 31 Oct 2013 15:27:15 +0100

fixes: get_seed

Diffstat:
Melectrum | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/electrum b/electrum @@ -232,15 +232,13 @@ if __name__ == '__main__': wallet.save_seed() wallet.create_accounts() wallet.synchronize() - print_msg("Your wallet generation seed is: " + wallet.seed) + print_msg("Your wallet generation seed is:\n\"%s\""% wallet.get_mnemonic(None)) print_msg("Please keep it in a safe place; if you lose it, you will not be able to restore your wallet.") - print_msg("Equivalently, your wallet seed can be stored and recovered with the following mnemonic code:") - print_msg("\""+' '.join(mnemonic_encode(wallet.seed))+"\"") print_msg("Wallet saved in '%s'"%wallet.storage.path) if password: - wallet.update_password(wallet.seed, None, password) + wallet.update_password(None, password) # terminate sys.exit(0) @@ -268,7 +266,7 @@ if __name__ == '__main__': exit(1) else: password = None - seed = wallet.seed + seed = wallet.get_seed(None) else: password = None