diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-04 12:15:06 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-04 12:15:06 +0800 |
commit | 0475adf7692697df91d359d67f7298574adfe327 (patch) | |
tree | 7c1dae7d4e8690ecd2b2097233bd534db0fb93ca /core/utils/penalty-helper_test.go | |
parent | ab2d2d131cadb28a59b51dc5d1142ef8845e2f88 (diff) | |
download | dexon-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.go | 2 |
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) |