Change default keystore dir

This commit is contained in:
Gustav Simonsson committed 2015-05-12 18:33:04 +02:00
1 parent 231fe04f03
commit e389585f1f
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -346,7 +346,7 @@ func GetChain(ctx *cli.Context) (*core.ChainManager, common.Database, common.Dat
func GetAccountManager(ctx *cli.Context) *accounts.Manager {
dataDir := ctx.GlobalString(DataDirFlag.Name)
ks := crypto.NewKeyStorePassphrase(filepath.Join(dataDir, "keys"))
ks := crypto.NewKeyStorePassphrase(filepath.Join(dataDir, "keystore"))
return accounts.NewManager(ks)
}