1
0

wallet: call create_accounts in save_seed

This commit is contained in:
ThomasV
2013-11-11 17:41:46 +01:00
parent ee141f6d37
commit 588f8fd110
5 changed files with 3 additions and 11 deletions

View File

@@ -236,14 +236,12 @@ if __name__ == '__main__':
else:
print_msg("Warning: Found no history for this wallet")
else:
wallet.create_accounts()
wallet.synchronize()
print_msg("Warning: This wallet was restored offline. It may contain more addresses than displayed.")
else:
wallet.init_seed(None)
wallet.save_seed()
wallet.create_accounts()
wallet.synchronize()
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.")