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 aae06116f9cff9e3540c20a8fb6e51011ca9b3ab DIR parent 5a7c3dc4d0bcd0ab3f60108ab99bbf783ba9855c HTML Author: SomberNight <somber.night@protonmail.com> Date: Fri, 25 Sep 2020 11:23:23 +0200 follow-up prev Diffstat: M electrum/interface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/electrum/interface.py b/electrum/interface.py t@@ -132,7 +132,7 @@ class NotificationSession(RPCSession): self.cache = {} self.default_timeout = NetworkTimeout.Generic.NORMAL self._msg_counter = itertools.count(start=1) - self.interface = interface # type: Interface + self.interface = interface self.cost_hard_limit = 0 # disable aiorpcx resource limits async def handle_request(self, request): t@@ -612,7 +612,6 @@ class Interface(Logger): host=self.host, port=self.port, ssl=sslc, proxy=self.proxy) as session: self.session = session # type: NotificationSession - self.session.interface = self self.session.set_default_timeout(self.network.get_network_timeout_seconds(NetworkTimeout.Generic)) try: ver = await session.send_request('server.version', [self.client_name(), version.PROTOCOL_VERSION])