aboutsummaryrefslogtreecommitdiffstats
path: root/core/shard_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/shard_test.go')
-rw-r--r--core/shard_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/shard_test.go b/core/shard_test.go
index 2a15f53..1b524ba 100644
--- a/core/shard_test.go
+++ b/core/shard_test.go
@@ -23,7 +23,7 @@ import (
"time"
"github.com/dexon-foundation/dexon-consensus-core/core/blockdb"
- "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/test"
"github.com/dexon-foundation/dexon-consensus-core/core/types"
"github.com/stretchr/testify/suite"
@@ -92,7 +92,7 @@ type ShardTestSuite struct {
func (s *ShardTestSuite) newTestShardMgr(cfg *types.Config) *testShardMgr {
var req = s.Require()
// Setup private key.
- prvKey, err := eth.NewPrivateKey()
+ prvKey, err := ecdsa.NewPrivateKey()
req.Nil(err)
// Setup blockdb.
db, err := blockdb.NewMemBackedBlockDB()