fixme/correct-type (#746)

* fixme/correct-type

* added newsfragment and test
This commit is contained in:
Archit Dabral
2025-07-12 02:57:17 +05:30
committed by GitHub
parent dd14aad47c
commit 5fcfc677f3
6 changed files with 48 additions and 6 deletions

View File

@ -59,7 +59,7 @@ def _mk_identify_protobuf(
) -> Identify:
public_key = host.get_public_key()
laddrs = host.get_addrs()
protocols = host.get_mux().get_protocols()
protocols = tuple(str(p) for p in host.get_mux().get_protocols() if p is not None)
observed_addr = observed_multiaddr.to_bytes() if observed_multiaddr else b""
return Identify(