diff options
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{}) |