mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
PR feedback
This commit is contained in:
@ -67,11 +67,11 @@ class SimpleSecureConn(ISecureConn):
|
||||
self.details = cast("TSecurityDetails", {})
|
||||
self.details["key_phrase"] = key_phrase
|
||||
|
||||
def get_conn(self) -> "ISecureConn":
|
||||
def get_conn(self) -> "IRawConnection":
|
||||
"""
|
||||
:return: connection object that has been made secure
|
||||
"""
|
||||
return cast("ISecureConn", self.conn)
|
||||
return self.conn
|
||||
|
||||
def get_security_details(self) -> "TSecurityDetails":
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user