1
0

psbt_nostr: minor fix

This commit is contained in:
ThomasV
2024-11-28 11:16:49 +01:00
parent dbfc27d73b
commit 86c9eb4858

View File

@@ -145,7 +145,8 @@ class CosignerWallet(Logger):
self.logger.info(f'nostr pubkey: {self.nostr_pubkey}')
self.messages = asyncio.Queue()
self.taskgroup = OldTaskGroup()
asyncio.run_coroutine_threadsafe(self.main_loop(), self.network.asyncio_loop)
if self.network:
asyncio.run_coroutine_threadsafe(self.main_loop(), self.network.asyncio_loop)
@log_exceptions
async def main_loop(self):