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/utils/flags.go | |
parent | 3750ec7b7de04d8482b798e73f04637ea9e1ca89 (diff) | |
download | go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.gz go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.tar.zst go-tangerine-fb53a9362e1238d8edb466d77427dc3cbb13eb20.zip |
accounts: AccountManager -> Manager
Diffstat (limited to 'cmd/utils/flags.go')
-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) } |