psbt_nostr: minor fix
This commit is contained in:
@@ -228,6 +228,8 @@ class CosignerWallet(Logger):
|
|||||||
return self.wallet.diagnostic_name()
|
return self.wallet.diagnostic_name()
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
|
if not self.network:
|
||||||
|
return
|
||||||
self.logger.info("shutting down listener")
|
self.logger.info("shutting down listener")
|
||||||
asyncio.run_coroutine_threadsafe(self.stop(), self.network.asyncio_loop)
|
asyncio.run_coroutine_threadsafe(self.stop(), self.network.asyncio_loop)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user