electrum

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

commit d09d4e4055b687cf7afacff09f864ec0785472f7
parent f32f85fb78e0321f705e0f08dd950a43381cfe17
Author: thomasv <thomasv@gitorious>
Date:   Wed, 10 Apr 2013 12:56:07 +0200

call save_seed only in main script

Diffstat:
Melectrum | 4+++-
Mgui/gui_classic.py | 1-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/electrum b/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: diff --git a/gui/gui_classic.py b/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