Browse Source

kivy: storage is already decrypted in on_open_wallet

patch-4
ThomasV 4 years ago
parent
commit
d3b34263cd
  1. 6
      electrum/gui/kivy/main_window.py

6
electrum/gui/kivy/main_window.py

@ -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)

Loading…
Cancel
Save