From 3714ebf2f1054d9984d37b89cf17e885a5856532 Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Tue, 6 Nov 2018 16:53:19 +0800 Subject: core: unbind global round in Consensus (#304) --- core/consensus_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/consensus_test.go') diff --git a/core/consensus_test.go b/core/consensus_test.go index f5ab69f..f518630 100644 --- a/core/consensus_test.go +++ b/core/consensus_test.go @@ -522,7 +522,7 @@ func (s *ConsensusTestSuite) TestDKGCRS() { con.cfgModule.registerDKG(uint64(0), n/3+1) } for _, con := range cons { - con.runDKGTSIG(uint64(0)) + con.runDKGTSIG(0, gov.Configuration(0)) } for _, con := range cons { func() { @@ -536,7 +536,7 @@ func (s *ConsensusTestSuite) TestDKGCRS() { crsFinish := make(chan struct{}) for _, con := range cons { go func(con *Consensus) { - con.runCRS() + con.runCRS(0) crsFinish <- struct{}{} }(con) } -- cgit v1.2.3