aboutsummaryrefslogtreecommitdiffstats
path: root/core/dkg-tsig-protocol_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-02 19:03:14 +0800
committerGitHub <noreply@github.com>2019-04-02 19:03:14 +0800
commit37bb1f320bbdd7ef1a33d400a3ea6b67e301a135 (patch)
tree547e5eb740b9356f3000f49491e2664d0ba02a3b /core/dkg-tsig-protocol_test.go
parent49cda7c3671c9410e368db097a118d25127fef43 (diff)
downloaddexon-consensus-37bb1f320bbdd7ef1a33d400a3ea6b67e301a135.tar
dexon-consensus-37bb1f320bbdd7ef1a33d400a3ea6b67e301a135.tar.gz
dexon-consensus-37bb1f320bbdd7ef1a33d400a3ea6b67e301a135.tar.bz2
dexon-consensus-37bb1f320bbdd7ef1a33d400a3ea6b67e301a135.tar.lz
dexon-consensus-37bb1f320bbdd7ef1a33d400a3ea6b67e301a135.tar.xz
dexon-consensus-37bb1f320bbdd7ef1a33d400a3ea6b67e301a135.tar.zst
dexon-consensus-37bb1f320bbdd7ef1a33d400a3ea6b67e301a135.zip
core: fix disqualified (#544)
* core: fix disqualified * fix test
Diffstat (limited to 'core/dkg-tsig-protocol_test.go')
-rw-r--r--core/dkg-tsig-protocol_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dkg-tsig-protocol_test.go b/core/dkg-tsig-protocol_test.go
index 584b3bb..198f50a 100644
--- a/core/dkg-tsig-protocol_test.go
+++ b/core/dkg-tsig-protocol_test.go
@@ -714,7 +714,7 @@ func (s *DKGTSIGProtocolTestSuite) TestQualifyIDs() {
}
gpk2, err := typesDKG.NewGroupPublicKey(round,
- gov.DKGMasterPublicKeys(round), complaints[:k],
+ gov.DKGMasterPublicKeys(round), complaints[:k-1],
k,
)
s.Require().NoError(err)