Update libp2p/security/insecure/transport.py

Co-Authored-By: NIC Lin <twedusuck@gmail.com>
This commit is contained in:
Kevin Mai-Husan Chia 2019-08-21 23:17:49 +08:00 committed by mhchia
parent 16a4fd33c1
commit 7c630df610
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A

View File

@ -47,7 +47,7 @@ class InsecureSession(BaseSession):
# Nothing is wrong. Store the `pubkey` and `peer_id` in the session. # Nothing is wrong. Store the `pubkey` and `peer_id` in the session.
self.remote_permanent_pubkey = remote_pubkey self.remote_permanent_pubkey = remote_pubkey
self.remote_peer_id = ID(remote_msg.id) self.remote_peer_id = remote_peer_id
# TODO: Store `pubkey` and `peer_id` to `PeerStore` # TODO: Store `pubkey` and `peer_id` to `PeerStore`