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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go
index 75f5422..a7ac8c4 100644
--- a/core/consensus_test.go
+++ b/core/consensus_test.go
@@ -235,7 +235,7 @@ func (s *ConsensusTestSuite) TestRegisteredDKGRecover() {
s.Require().Nil(con.cfgModule.dkg)
- con.cfgModule.registerDKG(0, 10)
+ con.cfgModule.registerDKG(0, 0, 10)
_, newCon := s.prepareConsensusWithDB(dMoment, gov, prvKeys[0], conn, dbInst)
@@ -269,7 +269,7 @@ func (s *ConsensusTestSuite) TestDKGCRS() {
}
time.Sleep(gov.Configuration(0).MinBlockInterval * 4)
for _, con := range cons {
- go con.runDKG(0, gov.Configuration(0))
+ go con.runDKG(0, 0, gov.Configuration(0))
}
for _, con := range cons {
func() {