SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
0 deletions
-
electrum/interface.py
|
|
@ -107,6 +107,8 @@ class NotificationSession(RPCSession): |
|
|
|
msg_id = next(self._msg_counter) |
|
|
|
self.maybe_log(f"<-- {args} {kwargs} (id: {msg_id})") |
|
|
|
try: |
|
|
|
# note: RPCSession.send_request raises TaskTimeout in case of a timeout. |
|
|
|
# TaskTimeout is a subclass of CancelledError, which is *suppressed* in TaskGroups |
|
|
|
response = await asyncio.wait_for( |
|
|
|
super().send_request(*args, **kwargs), |
|
|
|
timeout) |
|
|
|