tfollow-up prev - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit ec6baa12f81065ee5b110d6c277a24d752acb11d DIR parent 064670bd75a67cb41ce42e03ea24f4583e9d1725 HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 4 Mar 2021 17:50:52 +0100 follow-up prev oops, that was just for local testing Diffstat: M electrum/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/network.py b/electrum/network.py t@@ -1221,7 +1221,7 @@ class Network(Logger, NetworkRetryManager[ServerAddr]): self.logger.info("stopping network") try: # note: cancel_remaining ~cannot be cancelled, it suppresses CancelledError - await asyncio.wait_for(self.taskgroup.cancel_remaining(log=True), timeout=2) + await asyncio.wait_for(self.taskgroup.cancel_remaining(), timeout=2) except (asyncio.TimeoutError, asyncio.CancelledError) as e: self.logger.info(f"exc during main_taskgroup cancellation: {repr(e)}") self.taskgroup = None