mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
fix: Peer ID verification during dial (#7)
This commit is contained in:
committed by
lla-dane
parent
58433f9b52
commit
2c03ac46ea
@ -263,9 +263,8 @@ class QUICTransport(ITransport):
|
||||
remote_peer_id = ID.from_base58(remote_peer_id)
|
||||
|
||||
if remote_peer_id is None:
|
||||
# TODO: Peer ID verification during dial
|
||||
logger.error("Unable to derive peer id from multiaddr")
|
||||
# raise QUICDialError("Unable to derive peer id from multiaddr")
|
||||
raise QUICDialError("Unable to derive peer id from multiaddr")
|
||||
quic_version = multiaddr_to_quic_version(maddr)
|
||||
|
||||
# Get appropriate QUIC client configuration
|
||||
|
||||
Reference in New Issue
Block a user