mirror of
https://github.com/basicswap/basicswap.git
synced 2024-11-16 15:58:17 +00:00
more debug messages.
This commit is contained in:
parent
d91b869759
commit
bc0183ef7f
1 changed files with 5 additions and 0 deletions
|
@ -914,8 +914,10 @@ class BasicSwap(BaseApp):
|
|||
self._is_encrypted, self._is_locked = self.ci(Coins.PART).isWalletEncryptedLocked()
|
||||
|
||||
def unlockWallets(self, password: str, coin=None) -> None:
|
||||
self.log.debug('[rm] unlockWallets')
|
||||
try:
|
||||
self._read_zmq_queue = False
|
||||
self.log.debug('[rm] getListOfWalletCoins {}'.format(self.getListOfWalletCoins()))
|
||||
for c in self.getListOfWalletCoins():
|
||||
if coin and c != coin:
|
||||
continue
|
||||
|
@ -924,6 +926,9 @@ class BasicSwap(BaseApp):
|
|||
self._is_locked = False
|
||||
|
||||
self.loadFromDB()
|
||||
except Exception as e:
|
||||
self.log.error(f'[rm] unlockWallets failed {e}')
|
||||
raise (e)
|
||||
finally:
|
||||
self._read_zmq_queue = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue