diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-03 23:23:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 23:23:43 +0800 |
commit | f16fd59cccc5a5ba7438836c39151d4f677b5042 (patch) | |
tree | 91b815110420df38ff0572c4b22a43e271726a60 /core/dkg-tsig-protocol_test.go | |
parent | f5f34f81f8f3149adb002c65a7cc0cfa1244f77d (diff) | |
download | dexon-consensus-f16fd59cccc5a5ba7438836c39151d4f677b5042.tar dexon-consensus-f16fd59cccc5a5ba7438836c39151d4f677b5042.tar.gz dexon-consensus-f16fd59cccc5a5ba7438836c39151d4f677b5042.tar.bz2 dexon-consensus-f16fd59cccc5a5ba7438836c39151d4f677b5042.tar.lz dexon-consensus-f16fd59cccc5a5ba7438836c39151d4f677b5042.tar.xz dexon-consensus-f16fd59cccc5a5ba7438836c39151d4f677b5042.tar.zst dexon-consensus-f16fd59cccc5a5ba7438836c39151d4f677b5042.zip |
core: export some crypto verification function (#166)
verifyDKGMasterPublicKeySignature and verifyDKGComplaintSignature are
needed in the governance contract to verify the signature. Export than
so fullnode can use it.
Diffstat (limited to 'core/dkg-tsig-protocol_test.go')
-rw-r--r-- | core/dkg-tsig-protocol_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dkg-tsig-protocol_test.go b/core/dkg-tsig-protocol_test.go index 1e8cac4..9743531 100644 --- a/core/dkg-tsig-protocol_test.go +++ b/core/dkg-tsig-protocol_test.go @@ -271,7 +271,7 @@ func (s *DKGTSIGProtocolTestSuite) TestNackComplaint() { complaint, exist := recv.complaints[byzantineID] s.True(complaint.IsNack()) s.Require().True(exist) - s.True(verifyDKGComplaintSignature(complaint)) + s.True(VerifyDKGComplaintSignature(complaint)) } } |