Commit e96605d1 authored by vyzo's avatar vyzo
Browse files

use /p2p multiaddr

parent 84400e22
...@@ -222,7 +222,7 @@ func (h *AutoRelayHost) doUpdateAddrs() { ...@@ -222,7 +222,7 @@ func (h *AutoRelayHost) doUpdateAddrs() {
// add relay specific addrs to the list // add relay specific addrs to the list
for _, pi := range h.relays { for _, pi := range h.relays {
circuit, err := ma.NewMultiaddr(fmt.Sprintf("/ipfs/%s/p2p-circuit", pi.ID.Pretty())) circuit, err := ma.NewMultiaddr(fmt.Sprintf("/p2p/%s/p2p-circuit", pi.ID.Pretty()))
if err != nil { if err != nil {
panic(err) panic(err)
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment