Browse Source

call save_seed only in main script

283
thomasv 12 years ago
parent
commit
d09d4e4055
  1. 4
      electrum
  2. 1
      gui/gui_classic.py

4
electrum

@ -137,7 +137,9 @@ if __name__ == '__main__':
if a =='create':
wallet.init_seed(None)
gui.show_seed()
if not gui.verify_seed():
if gui.verify_seed():
wallet.save_seed()
else:
exit()
else:

1
gui/gui_classic.py

@ -2307,7 +2307,6 @@ class ElectrumGui:
QMessageBox.warning(None, _('Error'), 'incorrect seed', 'OK')
return False
else:
self.wallet.save_seed()
return True

Loading…
Cancel
Save