cant access electrum
I made a payment of bitcoin using coingate to buy tokens with bitcoin. 
Now, when I try to open it, Electrum will crash when I enter the correct password. Any incorrect password will show me an alert that it's incorrect (and I am very certain that I have the right password).
The wallet is encrypted. 
I had version 3.0.2 , now updated to 3.0.5 ,but still can t access
any ideas of what might be happening? it was working fine until before this payment
diff --git a/lib/wallet.py b/lib/wallet.py
index a9dc646bc..8366e8c62 100644
--- a/lib/wallet.py
+++ b/lib/wallet.py
@@ -367,7 +367,8 @@ class Abstract_Wallet(PrintError):
     def add_unverified_tx(self, tx_hash, tx_height):
         if tx_height == 0 and tx_hash in self.verified_tx:
             self.verified_tx.pop(tx_hash)
-            self.verifier.merkle_roots.pop(tx_hash, None)
+            if self.verifier:
+                self.verifier.merkle_roots.pop(tx_hash, None)
 
         # tx will be verified only if height > 0
         if tx_hash not in self.verified_tx:
['lib/wallet.py']