diff options
Diffstat (limited to 'core/crypto')
-rw-r--r-- | core/crypto/ecdsa/ecdsa.go (renamed from core/crypto/eth/eth.go) | 4 | ||||
-rw-r--r-- | core/crypto/ecdsa/ecdsa_test.go (renamed from core/crypto/eth/eth_test.go) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/crypto/eth/eth.go b/core/crypto/ecdsa/ecdsa.go index 41d05eb..5f98395 100644 --- a/core/crypto/eth/eth.go +++ b/core/crypto/ecdsa/ecdsa.go @@ -15,7 +15,7 @@ // along with the dexon-consensus-core library. If not, see // <http://www.gnu.org/licenses/>. -package eth +package ecdsa import ( "crypto/ecdsa" @@ -26,7 +26,7 @@ import ( "github.com/dexon-foundation/dexon-consensus-core/core/crypto" ) -const cryptoType = "eth" +const cryptoType = "ecdsa" func init() { crypto.RegisterSigToPub(cryptoType, SigToPub) diff --git a/core/crypto/eth/eth_test.go b/core/crypto/ecdsa/ecdsa_test.go index acda1a8..3543b04 100644 --- a/core/crypto/eth/eth_test.go +++ b/core/crypto/ecdsa/ecdsa_test.go @@ -15,7 +15,7 @@ // along with the dexon-consensus-core library. If not, see // <http://www.gnu.org/licenses/>. -package eth +package ecdsa import ( "testing" |