diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-02 13:42:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 13:42:54 +0800 |
commit | bd5e5b4c79d990d65823b3630c0f76d21af9b52d (patch) | |
tree | c32f1ef5f20d129758785efb9f8e20c78a0de1bb /core/test/revealer_test.go | |
parent | f521279b0d3d33e072d0dc439288fa16cbbf34d3 (diff) | |
download | tangerine-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar tangerine-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.gz tangerine-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.bz2 tangerine-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.lz tangerine-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.xz tangerine-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.zst tangerine-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.zip |
core: Remove max block interval (#287)
Diffstat (limited to 'core/test/revealer_test.go')
-rw-r--r-- | core/test/revealer_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/test/revealer_test.go b/core/test/revealer_test.go index abdf918..d9920c7 100644 --- a/core/test/revealer_test.go +++ b/core/test/revealer_test.go @@ -46,8 +46,7 @@ func (s *RevealerTestSuite) SetupSuite() { // Randomly generate blocks. config := &BlocksGeneratorConfig{ NumChains: 19, - MinBlockTimeInterval: 0, - MaxBlockTimeInterval: 500 * time.Millisecond, + MinBlockTimeInterval: 250 * time.Millisecond, } gen := NewBlocksGenerator(config, nil, stableRandomHash) s.Require().NoError(gen.Generate( |