diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-24 20:06:44 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | f55fd11ed93d15d47e914eb61289ca18ce51f4de (patch) | |
tree | a67880251efbb349676694aadbeb54481cbb281d /dex | |
parent | d4f73229104ee8f12737ce5b3da4c9360d02dbeb (diff) | |
download | dexon-f55fd11ed93d15d47e914eb61289ca18ce51f4de.tar.gz dexon-f55fd11ed93d15d47e914eb61289ca18ce51f4de.tar.zst dexon-f55fd11ed93d15d47e914eb61289ca18ce51f4de.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) { |