mirror of
https://github.com/fumiama/WireGold.git
synced 2026-07-01 00:00:23 +08:00
fix(p2p): handle error on parsing endpoint
This commit is contained in:
@@ -112,7 +112,7 @@ func (conn *Conn) accept() {
|
||||
logrus.Info("[tcp] re-listen on", conn.addr)
|
||||
continue
|
||||
}
|
||||
ep := newEndpoint(tcpconn.RemoteAddr().String(), &Config{
|
||||
ep, _ := newEndpoint(tcpconn.RemoteAddr().String(), &Config{
|
||||
DialTimeout: conn.addr.dialtimeout,
|
||||
PeersTimeout: conn.addr.peerstimeout,
|
||||
ReceiveChannelSize: conn.addr.recvchansize,
|
||||
|
||||
Reference in New Issue
Block a user