diff --git a/p2p/protocol/identify/id_delta.go b/p2p/protocol/identify/id_delta.go index 2cc95b72..947cc8c8 100644 --- a/p2p/protocol/identify/id_delta.go +++ b/p2p/protocol/identify/id_delta.go @@ -25,7 +25,8 @@ func (ids *IDService) deltaHandler(s network.Stream) { return } - defer func() { go helpers.FullClose(s) }() + defer helpers.FullClose(s) + log.Debugf("%s received message from %s %s", s.Protocol(), c.RemotePeer(), c.RemoteMultiaddr()) delta := mes.GetDelta()