From 8c03d52e2e7c99ca615c7f67312b584af6eab637 Mon Sep 17 00:00:00 2001
From: Sonic <sonic@cobinhood.com>
Date: Wed, 24 Oct 2018 20:06:44 +0800
Subject: dex: fix test

---
 dex/protocol_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'dex')

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) {
-- 
cgit v1.2.3