aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/protocol_test.go')
-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) {