mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-09 14:40:53 +00:00
Fix msg encoding
- Change varint-prefix encode to fixedint-prefix(4 bytes) encode.
This commit is contained in:
@ -79,7 +79,9 @@ class Multiselect(IMultiselectMuxer):
|
||||
|
||||
# Confirm that the protocols are the same
|
||||
if not validate_handshake(handshake_contents):
|
||||
raise MultiselectError("multiselect protocol ID mismatch")
|
||||
raise MultiselectError(
|
||||
f"multiselect protocol ID mismatch: handshake_contents={handshake_contents}"
|
||||
)
|
||||
|
||||
# Handshake succeeded if this point is reached
|
||||
|
||||
|
||||
Reference in New Issue
Block a user