This commit is contained in:
MacType 2018-12-07 16:33:43 +08:00
parent 2c290a1a0d
commit fb4934df03

View File

@ -227,8 +227,6 @@ func (c *Chain) getConn(addr string) (conn net.Conn, err error) {
return return
} }
node.group.ResetDeadNode(node.ID)
if len(nodes) > 1 { if len(nodes) > 1 {
node.group.ResetDeadNode(node.ID) // don't reset the last node as we are going to check if it will connect successfully. node.group.ResetDeadNode(node.ID) // don't reset the last node as we are going to check if it will connect successfully.
} }