updating to proper multiaddr and changing to p2p

This commit is contained in:
Robert Zajac
2018-12-28 01:56:00 -05:00
parent f6c6ec2213
commit 4c0cd8730f
6 changed files with 10 additions and 10 deletions

View File

@ -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():