diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-13 16:28:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 16:28:24 +0800 |
commit | 01642721a7768218e7f9a5be8f0829eb8ae7c7b1 (patch) | |
tree | a8ebe89570de317d7be047f32c8c35334e78c919 /core/compaction-chain_test.go | |
parent | 86838fe70789292de0851f82426e5241c0f0cc96 (diff) | |
download | tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.gz tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.bz2 tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.lz tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.xz tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.zst tangerine-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.zip |
core: expose implicit round shift (#321)
Diffstat (limited to 'core/compaction-chain_test.go')
-rw-r--r-- | core/compaction-chain_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/compaction-chain_test.go b/core/compaction-chain_test.go index a511dc8..2767d2d 100644 --- a/core/compaction-chain_test.go +++ b/core/compaction-chain_test.go @@ -38,7 +38,8 @@ func (s *CompactionChainTestSuite) SetupTest() { func (s *CompactionChainTestSuite) newCompactionChain() *compactionChain { _, pubKeys, err := test.NewKeys(4) s.Require().NoError(err) - gov, err := test.NewGovernance(pubKeys, 100*time.Millisecond) + gov, err := test.NewGovernance( + pubKeys, 100*time.Millisecond, ConfigRoundShift) s.Require().NoError(err) cc := newCompactionChain(gov) cc.init(&types.Block{}) |