1
0

During wallet creation, do not write seed on disk before it is encrypted

This commit is contained in:
thomasv
2013-12-13 17:30:34 +01:00
parent 60b6fd399d
commit f045490597
7 changed files with 115 additions and 97 deletions

View File

@@ -903,7 +903,7 @@ class ElectrumGui:
if action == 'create':
wallet.init_seed(None)
self.show_seed()
wallet.save_seed()
wallet.save_seed(None)
wallet.synchronize() # generate first addresses offline
elif action == 'restore':
@@ -911,7 +911,7 @@ class ElectrumGui:
if not seed:
exit()
wallet.init_seed(str(seed))
wallet.save_seed()
wallet.save_seed(None)
else:
exit()
@@ -996,9 +996,6 @@ class ElectrumGui:
def network_dialog(self):
return True
def verify_seed(self):
wallet.save_seed()
return True
def show_seed(self):
modal_dialog('Your seed is:', wallet.seed)