aboutsummaryrefslogtreecommitdiffstats
path: root/simulation
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-09-26 18:19:12 +0800
committerGitHub <noreply@github.com>2018-09-26 18:19:12 +0800
commit9c2f700be09c27e8a8d12fc5bc0ccd017d408a32 (patch)
treebde8e80468af8535c8652210017553e2ed830d62 /simulation
parent0398468051068720688199442f53984b4071f4b2 (diff)
downloadtangerine-consensus-9c2f700be09c27e8a8d12fc5bc0ccd017d408a32.tar
tangerine-consensus-9c2f700be09c27e8a8d12fc5bc0ccd017d408a32.tar.gz
tangerine-consensus-9c2f700be09c27e8a8d12fc5bc0ccd017d408a32.tar.bz2
tangerine-consensus-9c2f700be09c27e8a8d12fc5bc0ccd017d408a32.tar.lz
tangerine-consensus-9c2f700be09c27e8a8d12fc5bc0ccd017d408a32.tar.xz
tangerine-consensus-9c2f700be09c27e8a8d12fc5bc0ccd017d408a32.tar.zst
tangerine-consensus-9c2f700be09c27e8a8d12fc5bc0ccd017d408a32.zip
core: rename crypto/eth to crypto/ecdsa (#144)
Diffstat (limited to 'simulation')
-rw-r--r--simulation/simulation.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/simulation/simulation.go b/simulation/simulation.go
index 2b22dd5..0a47e68 100644
--- a/simulation/simulation.go
+++ b/simulation/simulation.go
@@ -20,7 +20,7 @@ package simulation
import (
"sync"
- "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/simulation/config"
)
@@ -35,7 +35,7 @@ func Run(cfg *config.Config, legacy bool) {
// init is a function to init a node.
init := func(serverEndpoint interface{}) {
- prv, err := eth.NewPrivateKey()
+ prv, err := ecdsa.NewPrivateKey()
if err != nil {
panic(err)
}