mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
basicswap: revert removal of ensureWalletExists
This commit is contained in:
@@ -999,6 +999,12 @@ class BasicSwap(BaseApp):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log.error("Sanity checks failed: %s", str(e))
|
self.log.error("Sanity checks failed: %s", str(e))
|
||||||
|
|
||||||
|
elif c in (Coins.XMR, Coins.WOW):
|
||||||
|
try:
|
||||||
|
ci.ensureWalletExists()
|
||||||
|
except Exception as e:
|
||||||
|
self.log.warning("Can't open %s wallet, could be locked.", ci.coin_name())
|
||||||
|
continue
|
||||||
elif c == Coins.LTC:
|
elif c == Coins.LTC:
|
||||||
ci_mweb = self.ci(Coins.LTC_MWEB)
|
ci_mweb = self.ci(Coins.LTC_MWEB)
|
||||||
is_encrypted, _ = self.getLockedState()
|
is_encrypted, _ = self.getLockedState()
|
||||||
|
|||||||
Reference in New Issue
Block a user