mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-25 15:26:29 +03:00
remove peer.linkIn channel and related logic
This commit is contained in:
@@ -209,7 +209,6 @@ func (iface *tcpInterface) handler(sock net.Conn, incoming bool) {
|
||||
// Note that multiple connections to the same node are allowed
|
||||
// E.g. over different interfaces
|
||||
p := iface.core.peers.newPeer(&info.box, &info.sig)
|
||||
p.linkIn = make(chan []byte, 1)
|
||||
p.linkOut = make(chan []byte, 1)
|
||||
in := func(bs []byte) {
|
||||
p.handlePacket(bs)
|
||||
|
||||
Reference in New Issue
Block a user