fix bug
This commit is contained in:
parent
2c290a1a0d
commit
fb4934df03
2
chain.go
2
chain.go
@ -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.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user