aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-03 14:51:21 +0800
committerGitHub <noreply@github.com>2019-04-03 14:51:21 +0800
commitf2fb45707b788b8e422c9f1016f1f0cdd0a411ab (patch)
treef4d617c30afcc90f928331bb6fc3fb0f9b313e19 /integration_test
parent37bb1f320bbdd7ef1a33d400a3ea6b67e301a135 (diff)
downloadtangerine-consensus-f2fb45707b788b8e422c9f1016f1f0cdd0a411ab.tar.gz
tangerine-consensus-f2fb45707b788b8e422c9f1016f1f0cdd0a411ab.tar.zst
tangerine-consensus-f2fb45707b788b8e422c9f1016f1f0cdd0a411ab.zip
core: syncer: add deliver pending blocks (#546)
* core: syncer: deliver pending blocks * fixup
Diffstat (limited to 'integration_test')
-rw-r--r--integration_test/consensus_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/integration_test/consensus_test.go b/integration_test/consensus_test.go
index eab0c22..ae56af2 100644
--- a/integration_test/consensus_test.go
+++ b/integration_test/consensus_test.go
@@ -469,6 +469,7 @@ ReachAlive:
}
logger := common.NewCustomLogger(log.New(f, "", log.LstdFlags|log.Lmicroseconds))
syncerObj := syncer.NewConsensus(
+ 0,
dMoment,
syncNode.app,
syncNode.gov,
@@ -634,6 +635,7 @@ ReachStop:
nID := types.NewNodeID(prvKey.PublicKey())
node := nodes[nID]
syncerCon[nID] = syncer.NewConsensus(
+ latestHeight,
dMoment,
node.app,
node.gov,