mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 15:40:54 +00:00
PR feedbacks
- Nits - Add `SecurityUpgradeFailure` and handle `UpgradeFailure` in Swarm.
This commit is contained in:
@ -80,7 +80,8 @@ class Multiselect(IMultiselectMuxer):
|
||||
# Confirm that the protocols are the same
|
||||
if not validate_handshake(handshake_contents):
|
||||
raise MultiselectError(
|
||||
f"multiselect protocol ID mismatch: handshake_contents={handshake_contents}"
|
||||
"multiselect protocol ID mismatch: "
|
||||
f"received handshake_contents={handshake_contents}"
|
||||
)
|
||||
|
||||
# Handshake succeeded if this point is reached
|
||||
|
||||
Reference in New Issue
Block a user