aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test/byzantine_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-02-26 11:21:28 +0800
committerGitHub <noreply@github.com>2019-02-26 11:21:28 +0800
commitfc8aae4eb1608ce574f853a1b1ecd60014886882 (patch)
tree8439c65d140393e7d43c9003a64ac9bda9298149 /integration_test/byzantine_test.go
parent929d41761b72abab106b5a4d627701d1c232e891 (diff)
downloaddexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar
dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.gz
dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.bz2
dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.lz
dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.xz
dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.tar.zst
dexon-consensus-fc8aae4eb1608ce574f853a1b1ecd60014886882.zip
core: Change RoundInterval to RoundLength (#453)
Diffstat (limited to 'integration_test/byzantine_test.go')
-rw-r--r--integration_test/byzantine_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration_test/byzantine_test.go b/integration_test/byzantine_test.go
index 027b6e7..1e5a2a9 100644
--- a/integration_test/byzantine_test.go
+++ b/integration_test/byzantine_test.go
@@ -144,7 +144,7 @@ func (s *ByzantineTestSuite) TestOneSlowNodeOneDeadNode() {
core.ConfigRoundShift)
req.NoError(err)
req.NoError(seedGov.State().RequestChange(
- test.StateChangeRoundInterval, uint64(60)))
+ test.StateChangeRoundLength, uint64(60)))
slowNodeID := types.NewNodeID(pubKeys[0])
deadNodeID := types.NewNodeID(pubKeys[1])
s.directLatencyModel[slowNodeID] = &test.FixedLatencyModel{