From 01642721a7768218e7f9a5be8f0829eb8ae7c7b1 Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Tue, 13 Nov 2018 16:28:24 +0800 Subject: core: expose implicit round shift (#321) --- core/compaction-chain_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/compaction-chain_test.go') 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{}) -- cgit