mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
updating to proper multiaddr and changing to p2p
This commit is contained in:
@ -42,7 +42,7 @@ class BasicHost(IHost):
|
||||
"""
|
||||
:return: all the multiaddr addresses this host is listening too
|
||||
"""
|
||||
p2p_part = multiaddr.Multiaddr('/ipfs/{}'.format(self.get_id().pretty()))
|
||||
p2p_part = multiaddr.Multiaddr('/p2p/{}'.format(self.get_id().pretty()))
|
||||
|
||||
addrs = []
|
||||
for transport in self.network.listeners.values():
|
||||
|
||||
Reference in New Issue
Block a user