fix: need to add peer to wg
This commit is contained in:
parent
19fb3b9967
commit
5df9ac2256
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue