From ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Fri, 26 Oct 2018 12:05:27 +0800 Subject: core: Leader selector will retry sanityCheck (#261) --- integration_test/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integration_test/node.go') diff --git a/integration_test/node.go b/integration_test/node.go index 0fb661b..8b2931b 100644 --- a/integration_test/node.go +++ b/integration_test/node.go @@ -188,7 +188,7 @@ func (n *Node) processBlock(b *types.Block) (err error) { delivered []*types.Block ) if err = n.lattice.SanityCheck(b); err != nil { - if _, ok := err.(*core.ErrAckingBlockNotExists); ok { + if err == core.ErrRetrySanityCheckLater { err = nil } else { return -- cgit v1.2.3