kivy: storage is already decrypted in on_open_wallet
This commit is contained in:
@@ -683,11 +683,7 @@ class ElectrumWindow(App, Logger):
|
|||||||
wizard.bind(on_wizard_complete=self.on_wizard_complete)
|
wizard.bind(on_wizard_complete=self.on_wizard_complete)
|
||||||
wizard.run('new')
|
wizard.run('new')
|
||||||
else:
|
else:
|
||||||
try:
|
assert storage.is_past_initial_decryption()
|
||||||
storage.decrypt(pw)
|
|
||||||
except StorageReadWriteError:
|
|
||||||
app.show_error(_("R/W error accessing path"))
|
|
||||||
return
|
|
||||||
self.password = pw
|
self.password = pw
|
||||||
self._on_decrypted_storage(storage)
|
self._on_decrypted_storage(storage)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user