diff options
author | Maran <maran.hidskes@gmail.com> | 2015-02-23 18:28:20 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2015-02-23 18:28:20 +0800 |
commit | 40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c (patch) | |
tree | 98c3bae13e0483cfd6a8919b9b5a848f72d79071 /crypto/key_store_plain.go | |
parent | dd086791acf477da7641c168f82de70ed0b2dca6 (diff) | |
download | go-tangerine-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.tar go-tangerine-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.tar.gz go-tangerine-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.tar.bz2 go-tangerine-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.tar.lz go-tangerine-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.tar.xz go-tangerine-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.tar.zst go-tangerine-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.zip |
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} } |