diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-13 00:33:04 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-13 00:33:04 +0800 |
commit | e389585f1f2e77fd7cd507499015bf3754581e4e (patch) | |
tree | 3f1792e7d71a82de0ceb6047eaf87f2f72aa82ff /cmd/utils | |
parent | 231fe04f0309e588c6151e1d5a14fd5adc116bf2 (diff) | |
download | dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.gz dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.zst dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.zip |
Change default keystore dir
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 339dd3f47..ddbd36b5c 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -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) } |