diff --git a/service/http.go b/service/http.go index 6214ae1..e2e50ed 100644 --- a/service/http.go +++ b/service/http.go @@ -69,6 +69,9 @@ func (h *HTTPImpl) p2pHandler(ctx jape.Context) { } return } + + h.Node().ConnectionTracker().Add(1) + go func() { err := h.node.Services().P2P().OnNewPeer(peer, false) if err != nil {