Unverified Commit 39791b17 authored by Łukasz Kurowski's avatar Łukasz Kurowski Committed by GitHub
Browse files

function cannot be formatted as string

parent a08d9e63
...@@ -432,7 +432,7 @@ func (h *BasicHost) resolveAddrs(ctx context.Context, pi pstore.PeerInfo) ([]ma. ...@@ -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 // dialPeer opens a connection to peer, and makes sure to identify
// the connection once it has been opened. // the connection once it has been opened.
func (h *BasicHost) dialPeer(ctx context.Context, p peer.ID) error { 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) c, err := h.Network().DialPeer(ctx, p)
if err != nil { if err != nil {
return err return 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