diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-10-26 12:05:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 12:05:27 +0800 |
commit | ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad (patch) | |
tree | 1e7f124d2fd13e9237e4731726845c16dd87a6b8 /integration_test/node.go | |
parent | fd175ba0843513d3966165441689d4e9a2c8d0bf (diff) | |
download | dexon-consensus-ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad.tar dexon-consensus-ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad.tar.gz dexon-consensus-ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad.tar.bz2 dexon-consensus-ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad.tar.lz dexon-consensus-ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad.tar.xz dexon-consensus-ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad.tar.zst dexon-consensus-ef0df0e6e27acd3852f2e0efdccf0798d5fc63ad.zip |
core: Leader selector will retry sanityCheck (#261)
Diffstat (limited to 'integration_test/node.go')
-rw-r--r-- | integration_test/node.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |