fix: need to add peer to wg

This commit is contained in:
Derrick Hammer 2024-01-10 11:21:07 -05:00
parent 19fb3b9967
commit 5df9ac2256
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

View File

@ -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 {