increase timeout

This commit is contained in:
Riccardo Balbo 2025-02-22 14:47:31 +00:00
commit abb6f888f1

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=21 self, result_type, callback=None, on_error_callback=None, timeout=60
): ):
now = time.time() now = time.time()
while True: while True: