Merge pull request #357 from crackcomm/patch-1
function cannot be formatted as string
This commit is contained in:
commit
b01768091b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue