1
0

fix key stretching

This commit is contained in:
thomasv
2011-12-06 15:40:04 +01:00
parent 5883aaf8ca
commit d03e60b056
3 changed files with 41 additions and 16 deletions

View File

@@ -61,8 +61,13 @@ def show_seed_dialog(wallet, password, parent):
def init_wallet(wallet):
if not wallet.read():
try:
found = wallet.read()
except BaseException, e:
show_message(e.message)
exit(1)
if not found:
# ask if the user wants to create a new wallet, or recover from a seed.
# if he wants to recover, and nothing is found, do not create wallet
dialog = gtk.Dialog("electrum", parent=None,