mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-09 14:40:53 +00:00
Conform stream_id to go-mplex
This commit is contained in:
@ -41,7 +41,7 @@ class ID:
|
||||
|
||||
def __str__(self) -> str:
|
||||
if FRIENDLY_IDS:
|
||||
return self.to_string()[2:8]
|
||||
return f"<peer.ID {self.to_string()[2:8]}>"
|
||||
else:
|
||||
return self.to_string()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user