tcall save_seed only in main script - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d09d4e4055b687cf7afacff09f864ec0785472f7 DIR parent f32f85fb78e0321f705e0f08dd950a43381cfe17 HTML Author: thomasv <thomasv@gitorious> Date: Wed, 10 Apr 2013 12:56:07 +0200 call save_seed only in main script Diffstat: M electrum | 4 +++- M gui/gui_classic.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum b/electrum t@@ -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: DIR diff --git a/gui/gui_classic.py b/gui/gui_classic.py t@@ -2307,7 +2307,6 @@ class ElectrumGui: QMessageBox.warning(None, _('Error'), 'incorrect seed', 'OK') return False else: - self.wallet.save_seed() return True