diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-08 08:52:49 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-08 08:58:35 +0800 |
commit | fb53a9362e1238d8edb466d77427dc3cbb13eb20 (patch) | |
tree | 8ed3fbda85d4a62fe8225190493b14014e7b947f /cmd | |
parent | 3750ec7b7de04d8482b798e73f04637ea9e1ca89 (diff) | |
download | dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.gz dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.zst dexon-fb53a9362e1238d8edb466d77427dc3cbb13eb20.zip |
accounts: AccountManager -> Manager
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/utils/flags.go | 4 |
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) } |