git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f32f85f
)
call save_seed only in main script
author
thomasv
<thomasv@gitorious>
Wed, 10 Apr 2013 10:56:07 +0000 (12:56 +0200)
committer
thomasv
<thomasv@gitorious>
Wed, 10 Apr 2013 10:56:07 +0000 (12:56 +0200)
electrum
patch
|
blob
|
history
gui/gui_classic.py
patch
|
blob
|
history
diff --git
a/electrum
b/electrum
index
f63b19e
..
b961255
100755
(executable)
--- 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
index
9d4c828
..
5f45ec4
100644
(file)
--- 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