aboutsummaryrefslogtreecommitdiffstats
path: root/core/utils/penalty-helper_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-04 12:15:06 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-04 12:15:06 +0800
commit0475adf7692697df91d359d67f7298574adfe327 (patch)
tree7c1dae7d4e8690ecd2b2097233bd534db0fb93ca /core/utils/penalty-helper_test.go
parentab2d2d131cadb28a59b51dc5d1142ef8845e2f88 (diff)
downloaddexon-consensus-0475adf7692697df91d359d67f7298574adfe327.tar
dexon-consensus-0475adf7692697df91d359d67f7298574adfe327.tar.gz
dexon-consensus-0475adf7692697df91d359d67f7298574adfe327.tar.bz2
dexon-consensus-0475adf7692697df91d359d67f7298574adfe327.tar.lz
dexon-consensus-0475adf7692697df91d359d67f7298574adfe327.tar.xz
dexon-consensus-0475adf7692697df91d359d67f7298574adfe327.tar.zst
dexon-consensus-0475adf7692697df91d359d67f7298574adfe327.zip
core/crypto/dkg: concurrent access for gpk (#548)
* core/crypto/dkg: add benchmark * core/crypto/dkg: concurrent access for gpk
Diffstat (limited to 'core/utils/penalty-helper_test.go')
-rw-r--r--core/utils/penalty-helper_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils/penalty-helper_test.go b/core/utils/penalty-helper_test.go
index 7b61781..3e4f8b5 100644
--- a/core/utils/penalty-helper_test.go
+++ b/core/utils/penalty-helper_test.go
@@ -52,7 +52,7 @@ func (s *PenaltyHelperTestSuite) TestDKGComplaint() {
mpk := &typesDKG.MasterPublicKey{
ProposerID: nID1,
DKGID: typesDKG.NewID(nID1),
- PublicKeyShares: *pubShares,
+ PublicKeyShares: *pubShares.Move(),
}
mpk.Signature, err = prv1.Sign(hashDKGMasterPublicKey(mpk))
s.Require().NoError(err)