p2p: ensure we don't dial ourself
addPeer doesn't allow self connects, but we can avoid opening connections in the first place.
Showing
想要评论请 注册 或 登录
从无法访问的项目Fork
addPeer doesn't allow self connects, but we can avoid opening connections in the first place.