diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-10-02 11:45:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 11:45:34 +0800 |
commit | 658662d42d30c58e4f3951f5c1e99688de295397 (patch) | |
tree | 41bb0f9129403eb1905172dc8409eac6761d5fea /core/configuration-chain_test.go | |
parent | 9c33b9dc8aa59d414a6697f1e2d036e5581860ee (diff) | |
download | dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.gz dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.bz2 dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.lz dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.xz dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.tar.zst dexon-consensus-658662d42d30c58e4f3951f5c1e99688de295397.zip |
core: run DKG and CRS at background. (#155)
Diffstat (limited to 'core/configuration-chain_test.go')
-rw-r--r-- | core/configuration-chain_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/configuration-chain_test.go b/core/configuration-chain_test.go index a9615ec..7ebc502 100644 --- a/core/configuration-chain_test.go +++ b/core/configuration-chain_test.go @@ -190,7 +190,7 @@ func (s *ConfigurationChainTestSuite) TestConfigurationChain() { if _, exist := cc.gpk[round].qualifyNodeIDs[nID]; !exist { continue } - psig, err := cc.preparePartialSignature(round, hash) + psig, err := cc.preparePartialSignature(round, hash, types.TSigCRS) s.Require().NoError(err) prvKey, exist := s.prvKeys[cc.ID] s.Require().True(exist) @@ -207,7 +207,7 @@ func (s *ConfigurationChainTestSuite) TestConfigurationChain() { continue } go func(cc *configurationChain) { - tsig, err := cc.runBlockTSig(round, hash) + tsig, err := cc.runTSig(round, hash, types.TSigCRS) // Prevent racing by collecting errors and check in main thread. errs <- err tsigChan <- tsig |