Wire some missing properties up

This commit is contained in:
Alex Stokes
2019-08-02 17:41:29 -07:00
parent 02e073d85a
commit 0ebc8ffb21
3 changed files with 27 additions and 7 deletions

View File

@ -39,7 +39,7 @@ class Mplex(IMuxedConn):
:param peer_id: peer_id of peer the connection is to
"""
self.conn = secured_conn
self.initiator = self.conn.initiator
self.initiator = secured_conn.initiator
# Store generic protocol handler
self.generic_protocol_handler = generic_protocol_handler