diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-24 20:06:44 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:51 +0800 |
commit | 8c03d52e2e7c99ca615c7f67312b584af6eab637 (patch) | |
tree | 65b7597a8f798593d7534c8027a42009e00e580c | |
parent | 832edda709e2d6414e417e8e561b9cc83f8f09bb (diff) | |
download | dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.tar.gz dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.tar.zst dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.zip |
dex: fix test
-rw-r--r-- | dex/protocol_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/protocol_test.go b/dex/protocol_test.go index f2d668463..c48f8cb02 100644 --- a/dex/protocol_test.go +++ b/dex/protocol_test.go @@ -569,7 +569,7 @@ func (p *mockPublicKey) VerifySignature(hash coreCommon.Hash, signature coreCryp func (p *mockPublicKey) Bytes() []byte { b, _ := p.id.Pubkey() - return crypto.CompressPubkey(b) + return crypto.FromECDSAPub(b) } func TestRecvDKGPrivateShare(t *testing.T) { |