aboutsummaryrefslogtreecommitdiffstats
path: root/core/configuration-chain_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-11-06 14:32:48 +0800
committerGitHub <noreply@github.com>2018-11-06 14:32:48 +0800
commite662353293b58637acc788a5c214a8904bb1cfcb (patch)
tree46d56a0c25dd5b96227ddbbc16892bee023bc360 /core/configuration-chain_test.go
parentc537e964d9031a07c125a7225391e26827d9eb7a (diff)
downloaddexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.tar.gz
dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.tar.zst
dexon-consensus-e662353293b58637acc788a5c214a8904bb1cfcb.zip
core: Run DKG stuffs only if the node is in DKG set (#302)
Diffstat (limited to 'core/configuration-chain_test.go')
-rw-r--r--core/configuration-chain_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/configuration-chain_test.go b/core/configuration-chain_test.go
index 6ddfeb9..11e5eca 100644
--- a/core/configuration-chain_test.go
+++ b/core/configuration-chain_test.go
@@ -233,7 +233,7 @@ func (s *ConfigurationChainTestSuite) preparePartialSignature(
func (s *ConfigurationChainTestSuite) TestConfigurationChain() {
k := 4
n := 10
- round := uint64(1)
+ round := uint64(0)
cfgChains := s.runDKG(k, n, round)
hash := crypto.Keccak256Hash([]byte("🌚🌝"))
@@ -272,7 +272,7 @@ func (s *ConfigurationChainTestSuite) TestConfigurationChain() {
func (s *ConfigurationChainTestSuite) TestMultipleTSig() {
k := 2
n := 7
- round := uint64(1)
+ round := uint64(0)
cfgChains := s.runDKG(k, n, round)
hash1 := crypto.Keccak256Hash([]byte("Hash1"))