basicswap: remove extra xmr wallet open

This commit is contained in:
nahuhh
2024-11-14 22:45:28 +00:00
parent 893fc87b28
commit 5bf20370eb
2 changed files with 16 additions and 16 deletions

View File

@@ -1055,18 +1055,6 @@ class BasicSwap(BaseApp):
except Exception as e:
self.log.error("Sanity checks failed: %s", str(e))
elif c == Coins.XMR:
try:
ci.ensureWalletExists()
except Exception as e: # noqa: F841
self.log.warning("Can't open XMR wallet, could be locked.")
continue
elif c == Coins.WOW:
try:
ci.ensureWalletExists()
except Exception as e: # noqa: F841
self.log.warning("Can't open WOW wallet, could be locked.")
continue
elif c == Coins.LTC:
ci_mweb = self.ci(Coins.LTC_MWEB)
is_encrypted, _ = self.getLockedState()