Commit 4f903936 authored by vyzo's avatar vyzo
Browse files

add a comment

parent 67aba4d5
...@@ -220,6 +220,7 @@ func (h *AutoRelayHost) doUpdateAddrs() { ...@@ -220,6 +220,7 @@ func (h *AutoRelayHost) doUpdateAddrs() {
} }
} }
// 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("/ipfs/%s/p2p-circuit", pi.ID.Pretty()))
if err != nil { if err != nil {
......
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