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/test/governance_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/test/governance_test.go')
-rw-r--r-- | core/test/governance_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/test/governance_test.go b/core/test/governance_test.go index 474ec80..e075638 100644 --- a/core/test/governance_test.go +++ b/core/test/governance_test.go @@ -130,7 +130,7 @@ func (s *GovernanceTestSuite) TestProhibit() { mpk := &typesDKG.MasterPublicKey{ Round: round, DKGID: typesDKG.NewID(types.NewNodeID(k.PublicKey())), - PublicKeyShares: *pubShare, + PublicKeyShares: *pubShare.Move(), } s.Require().NoError(signer.SignDKGMasterPublicKey(mpk)) gov.AddDKGMasterPublicKey(mpk) |