aboutsummaryrefslogtreecommitdiffstats
path: root/core/authenticator_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/authenticator_test.go')
-rw-r--r--core/authenticator_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/authenticator_test.go b/core/authenticator_test.go
index 08a9179..b6c08d7 100644
--- a/core/authenticator_test.go
+++ b/core/authenticator_test.go
@@ -22,7 +22,7 @@ import (
"time"
"github.com/dexon-foundation/dexon-consensus-core/common"
- "github.com/dexon-foundation/dexon-consensus-core/core/crypto/eth"
+ "github.com/dexon-foundation/dexon-consensus-core/core/crypto/ecdsa"
"github.com/dexon-foundation/dexon-consensus-core/core/types"
"github.com/stretchr/testify/suite"
)
@@ -32,7 +32,7 @@ type AuthenticatorTestSuite struct {
}
func (s *AuthenticatorTestSuite) setupAuthenticator() *Authenticator {
- k, err := eth.NewPrivateKey()
+ k, err := ecdsa.NewPrivateKey()
s.NoError(err)
return NewAuthenticator(k)
}