aboutsummaryrefslogtreecommitdiffstats
path: root/core/consensus_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r--core/consensus_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go
index 9439adb..e8615a2 100644
--- a/core/consensus_test.go
+++ b/core/consensus_test.go
@@ -436,7 +436,6 @@ func (s *ConsensusTestSuite) TestDKGCRS() {
gov, err := test.NewGovernance(n, lambda*time.Millisecond)
s.Require().Nil(err)
gov.RoundInterval = 200 * lambda * time.Millisecond
- config := gov.Configuration(0)
prvKeys := gov.PrivateKeys()
cons := map[types.NodeID]*Consensus{}
for _, key := range prvKeys {
@@ -464,10 +463,6 @@ func (s *ConsensusTestSuite) TestDKGCRS() {
crsFinish <- struct{}{}
}(con)
}
- time.Sleep(config.RoundInterval * 3 / 4)
- for _, con := range cons {
- con.Stop()
- }
for range cons {
<-crsFinish
}