aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-10-24 20:06:44 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commitd87c861be3790e9b71e1511502832da3e01cfacd (patch)
tree46697e2ebfd78761451a9929448c334a55daa69f /dex
parentd8061c0557a43cc1f67ba59a73d13df1d4436a65 (diff)
downloadgo-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.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) {