aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/nodeset_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-10-02 11:45:34 +0800
committerGitHub <noreply@github.com>2018-10-02 11:45:34 +0800
commit658662d42d30c58e4f3951f5c1e99688de295397 (patch)
tree41bb0f9129403eb1905172dc8409eac6761d5fea /core/types/nodeset_test.go
parent9c33b9dc8aa59d414a6697f1e2d036e5581860ee (diff)
downloaddexon-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/types/nodeset_test.go')
-rw-r--r--core/types/nodeset_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/nodeset_test.go b/core/types/nodeset_test.go
index 021a0a4..d6f55c2 100644
--- a/core/types/nodeset_test.go
+++ b/core/types/nodeset_test.go
@@ -35,7 +35,7 @@ func (s *NodeSetTestSuite) TestGetSubSet() {
for len(nodes.IDs) < total {
nodes.IDs[NodeID{common.NewRandomHash()}] = struct{}{}
}
- target := NewNotarySetTarget(crs[:], 0, 0)
+ target := NewNotarySetTarget(crs, 0)
ranks := make(map[NodeID]*nodeRank, len(nodes.IDs))
for nID := range nodes.IDs {
ranks[nID] = newNodeRank(nID, target)