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
e96605d1
Commit
e96605d1
authored
Oct 24, 2018
by
vyzo
Browse files
use /p2p multiaddr
parent
84400e22
Changes
1
Hide whitespace changes
Inline
Side-by-side
p2p/host/relay/autorelay.go
View file @
e96605d1
...
...
@@ -222,7 +222,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
()))
circuit
,
err
:=
ma
.
NewMultiaddr
(
fmt
.
Sprintf
(
"/
p2p
/%s/p2p-circuit"
,
pi
.
ID
.
Pretty
()))
if
err
!=
nil
{
panic
(
err
)
}
...
...
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