Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
b0176809
Unverified
Commit
b0176809
authored
6 years ago
by
Steven Allen
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #357 from crackcomm/patch-1
function cannot be formatted as string
parents
a08d9e63
39791b17
master
2018-Q4-OKR
feat/protobuf
fix/473
fix/no-custom-field
fix/reset-ping-stream
fix/revert-correct-external-addr
gx/update-nza0mn
multistream-ping
punching
v6.0.23
v6.0.22
v6.0.21
v6.0.20
v6.0.19
v6.0.18
v6.0.17
v6.0.16
v6.0.15
v6.0.14
v6.0.13
v6.0.12
v6.0.11
v6.0.10
v6.0.9
v6.0.8
v6.0.7
v6.0.6
v6.0.5
v6.0.4
v6.0.3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
p2p/host/basic/basic_host.go
+1
-1
p2p/host/basic/basic_host.go
with
1 addition
and
1 deletion
+1
-1
p2p/host/basic/basic_host.go
View file @
b0176809
...
...
@@ -432,7 +432,7 @@ func (h *BasicHost) resolveAddrs(ctx context.Context, pi pstore.PeerInfo) ([]ma.
// dialPeer opens a connection to peer, and makes sure to identify
// the connection once it has been opened.
func
(
h
*
BasicHost
)
dialPeer
(
ctx
context
.
Context
,
p
peer
.
ID
)
error
{
log
.
Debugf
(
"host %s dialing %s"
,
h
.
ID
,
p
)
log
.
Debugf
(
"host %s dialing %s"
,
h
.
ID
()
,
p
)
c
,
err
:=
h
.
Network
()
.
DialPeer
(
ctx
,
p
)
if
err
!=
nil
{
return
err
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help