Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
4f903936
Commit
4f903936
authored
Oct 24, 2018
by
vyzo
Browse files
add a comment
parent
67aba4d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
p2p/host/relay/autorelay.go
View file @
4f903936
...
...
@@ -220,6 +220,7 @@ func (h *AutoRelayHost) doUpdateAddrs() {
}
}
// add relay specific addrs to the list
for
_
,
pi
:=
range
h
.
relays
{
circuit
,
err
:=
ma
.
NewMultiaddr
(
fmt
.
Sprintf
(
"/ipfs/%s/p2p-circuit"
,
pi
.
ID
.
Pretty
()))
if
err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment