diff options
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ethereum.go b/ethereum.go index 489e88b8a..4f2ca85e8 100644 --- a/ethereum.go +++ b/ethereum.go @@ -15,7 +15,7 @@ import ( "time" "github.com/ethereum/go-ethereum/chain" - "github.com/ethereum/go-ethereum/ethcrypto" + "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethlog" "github.com/ethereum/go-ethereum/ethstate" "github.com/ethereum/go-ethereum/ethutil" @@ -86,7 +86,7 @@ type Ethereum struct { RpcServer *rpc.JsonRpcServer - keyManager *ethcrypto.KeyManager + keyManager *crypto.KeyManager clientIdentity ethwire.ClientIdentity @@ -97,7 +97,7 @@ type Ethereum struct { filters map[int]*chain.Filter } -func New(db ethutil.Database, clientIdentity ethwire.ClientIdentity, keyManager *ethcrypto.KeyManager, caps Caps, usePnp bool) (*Ethereum, error) { +func New(db ethutil.Database, clientIdentity ethwire.ClientIdentity, keyManager *crypto.KeyManager, caps Caps, usePnp bool) (*Ethereum, error) { var err error var nat NAT @@ -138,7 +138,7 @@ func New(db ethutil.Database, clientIdentity ethwire.ClientIdentity, keyManager return ethereum, nil } -func (s *Ethereum) KeyManager() *ethcrypto.KeyManager { +func (s *Ethereum) KeyManager() *crypto.KeyManager { return s.keyManager } |