commit d17e6a1b87aa59dc0156106a0d2bae61efb0db17 parent 41802d8094f07398254ed49093ce312a56f29cce Author: SomberNight <somber.night@protonmail.com> Date: Tue, 28 May 2019 06:14:53 +0200 interface: fix for aiorpcx 0.18 Diffstat:
M | electrum/interface.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/interface.py b/electrum/interface.py @@ -396,7 +396,7 @@ class Interface(Logger): async with _RSClient(session_factory=RPCSession, host=self.host, port=self.port, ssl=sslc, proxy=self.proxy) as session: - return session.transport._ssl_protocol._sslpipe._sslobj.getpeercert(True) + return session.transport._asyncio_transport._ssl_protocol._sslpipe._sslobj.getpeercert(True) except ValueError: return None