diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-02-25 00:30:44 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-02-25 00:30:44 +0800 |
commit | 91a8c08f037c1ec737d15ce00c6720015347e0d6 (patch) | |
tree | 172ed9fe314ecf7a873814e187353499d088952d /crypto/key_store_plain.go | |
parent | 0b757ad12f6e79f8d8d92e412425f46a66d408c1 (diff) | |
parent | 40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c (diff) | |
download | dexon-91a8c08f037c1ec737d15ce00c6720015347e0d6.tar.gz dexon-91a8c08f037c1ec737d15ce00c6720015347e0d6.tar.zst dexon-91a8c08f037c1ec737d15ce00c6720015347e0d6.zip |
Merge pull request #368 from maran/feature/changeDataDir
Implement OS sensitive dataDirs
Diffstat (limited to 'crypto/key_store_plain.go')
-rw-r--r-- | crypto/key_store_plain.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/crypto/key_store_plain.go b/crypto/key_store_plain.go index 6b76962a0..255ae0ed7 100644 --- a/crypto/key_store_plain.go +++ b/crypto/key_store_plain.go @@ -30,7 +30,6 @@ import ( "io" "io/ioutil" "os" - "os/user" "path" ) @@ -48,12 +47,6 @@ type keyStorePlain struct { keysDirPath string } -// TODO: copied from cmd/ethereum/flags.go -func DefaultDataDir() string { - usr, _ := user.Current() - return path.Join(usr.HomeDir, ".ethereum") -} - func NewKeyStorePlain(path string) KeyStore2 { return &keyStorePlain{path} } |