diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-08 10:35:52 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-08 10:35:52 +0800 |
commit | 33d9311270414d8911122a4c7354773786df7f85 (patch) | |
tree | edbbe64e54f8c22b55297356fa4724c300e66799 /core/consensus_test.go | |
parent | 766e6aac32b8f97934833c06814c37dbdd9b7ae2 (diff) | |
download | dexon-consensus-33d9311270414d8911122a4c7354773786df7f85.tar.gz dexon-consensus-33d9311270414d8911122a4c7354773786df7f85.tar.zst dexon-consensus-33d9311270414d8911122a4c7354773786df7f85.zip |
Revert "core: unbind global round in Consensus (#304)" (#306)
This reverts commit 3714ebf2f1054d9984d37b89cf17e885a5856532.
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r-- | core/consensus_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go index f518630..f5ab69f 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(0, gov.Configuration(0)) + con.runDKGTSIG(uint64(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(0) + con.runCRS() crsFinish <- struct{}{} }(con) } |