diff --git a/p2p/host/basic/basic_host.go b/p2p/host/basic/basic_host.go index 66949a0c85bc3e5ff55844550dde9cc079cce979..662dbb3364d6c857999e7ad66000757ffaa3507e 100644 --- a/p2p/host/basic/basic_host.go +++ b/p2p/host/basic/basic_host.go @@ -307,7 +307,7 @@ func (h *BasicHost) dialPeer(ctx context.Context, p peer.ID) error { return ctx.Err() } - log.Debugf("host %s finished dialing %s", h.ID, p) + log.Debugf("host %s finished dialing %s", h.ID(), p) return nil }