aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-10-24 20:06:44 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:51 +0800
commit8c03d52e2e7c99ca615c7f67312b584af6eab637 (patch)
tree65b7597a8f798593d7534c8027a42009e00e580c /dex
parent832edda709e2d6414e417e8e561b9cc83f8f09bb (diff)
downloaddexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.tar
dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.tar.gz
dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.tar.bz2
dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.tar.lz
dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.tar.xz
dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.tar.zst
dexon-8c03d52e2e7c99ca615c7f67312b584af6eab637.zip
dex: fix test
Diffstat (limited to 'dex')
-rw-r--r--dex/protocol_test.go2
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) {