increase timeout

This commit is contained in:
Riccardo Balbo 2025-02-22 14:39:59 +00:00
commit d6d679520c

View file

@ -335,7 +335,7 @@ class NWCWallet:
await self.ws.send(self._json_dumps(["EVENT", event])) await self.ws.send(self._json_dumps(["EVENT", event]))
async def wait_for( async def wait_for(
self, result_type, callback=None, on_error_callback=None, timeout=10 self, result_type, callback=None, on_error_callback=None, timeout=21
): ):
now = time.time() now = time.time()
while True: while True: