From fb4934df03b0f733a98a1bc1a081500686ea2106 Mon Sep 17 00:00:00 2001 From: MacType Date: Fri, 7 Dec 2018 16:33:43 +0800 Subject: [PATCH] fix bug --- chain.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/chain.go b/chain.go index 366ea07..72752aa 100644 --- a/chain.go +++ b/chain.go @@ -227,8 +227,6 @@ func (c *Chain) getConn(addr string) (conn net.Conn, err error) { return } - node.group.ResetDeadNode(node.ID) - 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. }