aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-08 08:52:49 +0800
committerFelix Lange <fjl@twurst.com>2015-03-08 08:58:35 +0800
commitfb53a9362e1238d8edb466d77427dc3cbb13eb20 (patch)
tree8ed3fbda85d4a62fe8225190493b14014e7b947f /cmd
parent3750ec7b7de04d8482b798e73f04637ea9e1ca89 (diff)
downloaddexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.gz
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.bz2
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.lz
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.xz
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.zst
dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.zip
accounts: AccountManager -> Manager
Diffstat (limited to 'cmd')
-rw-r--r--cmd/utils/flags.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 4f3ecd2b2..e6eee20a7 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -167,8 +167,8 @@ func GetChain(ctx *cli.Context) (*core.ChainManager, ethutil.Database) {
return core.NewChainManager(db, new(event.TypeMux)), db
}
-func GetAccountManager(ctx *cli.Context) *accounts.AccountManager {
+func GetAccountManager(ctx *cli.Context) *accounts.Manager {
dataDir := ctx.GlobalString(DataDirFlag.Name)
ks := crypto.NewKeyStorePassphrase(path.Join(dataDir, "keys"))
- return accounts.NewAccountManager(ks, 300*time.Second)
+ return accounts.NewManager(ks, 300*time.Second)
}