diff --git a/service/default/http.go b/service/default/http.go index 60cebea..b44ac26 100644 --- a/service/default/http.go +++ b/service/default/http.go @@ -125,6 +125,10 @@ func (h *HTTPServiceDefault) p2pHandler(ctx jape.Context) { return } + if ip != nil { + peer.SetIP(ip) + } + h.Services().P2P().ConnectionTracker().Add(1) go func() {