diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-24 20:06:44 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:17 +0800 |
commit | d87c861be3790e9b71e1511502832da3e01cfacd (patch) | |
tree | 46697e2ebfd78761451a9929448c334a55daa69f /dex | |
parent | d8061c0557a43cc1f67ba59a73d13df1d4436a65 (diff) | |
download | go-tangerine-d87c861be3790e9b71e1511502832da3e01cfacd.tar go-tangerine-d87c861be3790e9b71e1511502832da3e01cfacd.tar.gz go-tangerine-d87c861be3790e9b71e1511502832da3e01cfacd.tar.bz2 go-tangerine-d87c861be3790e9b71e1511502832da3e01cfacd.tar.lz go-tangerine-d87c861be3790e9b71e1511502832da3e01cfacd.tar.xz go-tangerine-d87c861be3790e9b71e1511502832da3e01cfacd.tar.zst go-tangerine-d87c861be3790e9b71e1511502832da3e01cfacd.zip |
dex: fix test
Diffstat (limited to 'dex')
-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) { |