aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-11 23:33:04 +0800
committerobscuren <geffobscura@gmail.com>2015-03-11 23:33:04 +0800
commit6b63759ded5766396029445af772e35e3b8c1c67 (patch)
treefec7b3e65187cc9ae1b37e4206aba8db637636c4 /cmd/ethereum
parent7add66c8bba3b3ad8bcc0bab4a0344c7682b7303 (diff)
downloaddexon-6b63759ded5766396029445af772e35e3b8c1c67.tar.gz
dexon-6b63759ded5766396029445af772e35e3b8c1c67.tar.zst
dexon-6b63759ded5766396029445af772e35e3b8c1c67.zip
Reverted global
Diffstat (limited to 'cmd/ethereum')
-rw-r--r--cmd/ethereum/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go
index c9f620142..10d9c8fa4 100644
--- a/cmd/ethereum/main.go
+++ b/cmd/ethereum/main.go
@@ -201,7 +201,7 @@ func startEth(ctx *cli.Context, eth *eth.Ethereum) {
if len(split) != 2 {
utils.Fatalf("Illegal 'unlock' format (address:password)")
}
- am := utils.GetAccountManager(ctx)
+ am := eth.AccountManager()
// Attempt to unlock the account
err := am.Unlock(ethutil.Hex2Bytes(split[0]), split[1])
if err != nil {