diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-24 20:06:44 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | 2532df9cdedefc73383ad94434f5716e6ea24d35 (patch) | |
tree | cc24585ad7dc9dffe513fa3825da30f2a1cf9cb3 | |
parent | 46de04d42cd3292bad26133a1d00905e342773dd (diff) | |
download | dexon-2532df9cdedefc73383ad94434f5716e6ea24d35.tar dexon-2532df9cdedefc73383ad94434f5716e6ea24d35.tar.gz dexon-2532df9cdedefc73383ad94434f5716e6ea24d35.tar.bz2 dexon-2532df9cdedefc73383ad94434f5716e6ea24d35.tar.lz dexon-2532df9cdedefc73383ad94434f5716e6ea24d35.tar.xz dexon-2532df9cdedefc73383ad94434f5716e6ea24d35.tar.zst dexon-2532df9cdedefc73383ad94434f5716e6ea24d35.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) { |