SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/interface.py
|
@ -396,7 +396,7 @@ class Interface(Logger): |
|
|
async with _RSClient(session_factory=RPCSession, |
|
|
async with _RSClient(session_factory=RPCSession, |
|
|
host=self.host, port=self.port, |
|
|
host=self.host, port=self.port, |
|
|
ssl=sslc, proxy=self.proxy) as session: |
|
|
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: |
|
|
except ValueError: |
|
|
return None |
|
|
return None |
|
|
|
|
|
|
|
|