aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
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/utils
parent3750ec7b7de04d8482b798e73f04637ea9e1ca89 (diff)
downloadgo-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar
go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.gz
go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.bz2
go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.lz
go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.xz
go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.zst
go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.zip
accounts: AccountManager -> Manager
Diffstat (limited to 'cmd/utils')
-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)
}