1
0

kivy: storage is already decrypted in on_open_wallet

This commit is contained in:
ThomasV
2020-11-30 14:16:13 +01:00
parent fad3bd724c
commit d3b34263cd

View File

@@ -683,11 +683,7 @@ class ElectrumWindow(App, Logger):
wizard.bind(on_wizard_complete=self.on_wizard_complete)
wizard.run('new')
else:
try:
storage.decrypt(pw)
except StorageReadWriteError:
app.show_error(_("R/W error accessing path"))
return
assert storage.is_past_initial_decryption()
self.password = pw
self._on_decrypted_storage(storage)