diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-06 16:53:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 16:53:19 +0800 |
commit | 3714ebf2f1054d9984d37b89cf17e885a5856532 (patch) | |
tree | e9a5a66c525c587d6802f346c62ea149b85a2f04 /core/consensus_test.go | |
parent | e662353293b58637acc788a5c214a8904bb1cfcb (diff) | |
download | dexon-consensus-3714ebf2f1054d9984d37b89cf17e885a5856532.tar dexon-consensus-3714ebf2f1054d9984d37b89cf17e885a5856532.tar.gz dexon-consensus-3714ebf2f1054d9984d37b89cf17e885a5856532.tar.bz2 dexon-consensus-3714ebf2f1054d9984d37b89cf17e885a5856532.tar.lz dexon-consensus-3714ebf2f1054d9984d37b89cf17e885a5856532.tar.xz dexon-consensus-3714ebf2f1054d9984d37b89cf17e885a5856532.tar.zst dexon-consensus-3714ebf2f1054d9984d37b89cf17e885a5856532.zip |
core: unbind global round in Consensus (#304)
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 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) } |