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/lattice_test.go | |
parent | f521279b0d3d33e072d0dc439288fa16cbbf34d3 (diff) | |
download | dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.gz dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.bz2 dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.lz dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.xz dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.zst dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.zip |
core: Remove max block interval (#287)
Diffstat (limited to 'core/lattice_test.go')
-rw-r--r-- | core/lattice_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/lattice_test.go b/core/lattice_test.go index 9e44694..ca3cfbb 100644 --- a/core/lattice_test.go +++ b/core/lattice_test.go @@ -146,7 +146,6 @@ func (s *LatticeTestSuite) TestBasicUsage() { PhiRatio: float32(2) / float32(3), K: 0, MinBlockInterval: 0, - MaxBlockInterval: 3000 * time.Second, RoundInterval: time.Hour, } dMoment = time.Now().UTC() @@ -239,7 +238,6 @@ func (s *LatticeTestSuite) TestSync() { PhiRatio: float32(2) / float32(3), K: 0, MinBlockInterval: 0, - MaxBlockInterval: 3000 * time.Second, RoundInterval: time.Hour, } dMoment = time.Now().UTC() @@ -354,7 +352,6 @@ func (s *LatticeTestSuite) TestSanityCheck() { PhiRatio: float32(2) / float32(3), K: 0, MinBlockInterval: 0, - MaxBlockInterval: 3000 * time.Second, } lattice = s.newTestLatticeMgr(&cfg, time.Now().UTC()).lattice auth = lattice.authModule // Steal auth module from lattice, :( |