aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/signature_cgo.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-04-18 14:15:11 +0800
committerJimmy Hu <jimmy.hu@dexon.org>2019-04-18 14:15:11 +0800
commitac3378ba084e1fbf25c11581c224009a3cf75062 (patch)
treec384c056df0a28bfd9dd47864daa03b24fb78ce8 /crypto/signature_cgo.go
parent9abba1d1a25b47a21666b6abfc30a3ce4ff88ed6 (diff)
downloaddexon-ac3378ba084e1fbf25c11581c224009a3cf75062.tar
dexon-ac3378ba084e1fbf25c11581c224009a3cf75062.tar.gz
dexon-ac3378ba084e1fbf25c11581c224009a3cf75062.tar.bz2
dexon-ac3378ba084e1fbf25c11581c224009a3cf75062.tar.lz
dexon-ac3378ba084e1fbf25c11581c224009a3cf75062.tar.xz
dexon-ac3378ba084e1fbf25c11581c224009a3cf75062.tar.zst
dexon-ac3378ba084e1fbf25c11581c224009a3cf75062.zip
crypto: use go-ethereum secp256k1 package to avoid symbol conflict (#374)
Diffstat (limited to 'crypto/signature_cgo.go')
-rw-r--r--crypto/signature_cgo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/signature_cgo.go b/crypto/signature_cgo.go
index 64f2fd7aa..523e11a5e 100644
--- a/crypto/signature_cgo.go
+++ b/crypto/signature_cgo.go
@@ -24,7 +24,7 @@ import (
"fmt"
"github.com/dexon-foundation/dexon/common/math"
- "github.com/dexon-foundation/dexon/crypto/secp256k1"
+ "github.com/ethereum/go-ethereum/crypto/secp256k1"
)
// Ecrecover returns the uncompressed public key that created the given signature.