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 /accounts | |
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 'accounts')
-rw-r--r-- | accounts/accounts_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accounts/accounts_test.go b/accounts/accounts_test.go index 30e8c6285..127334404 100644 --- a/accounts/accounts_test.go +++ b/accounts/accounts_test.go @@ -5,10 +5,11 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/crypto/randentropy" + "github.com/ethereum/go-ethereum/ethutil" ) func TestAccountManager(t *testing.T) { - ks := crypto.NewKeyStorePlain(crypto.DefaultDataDir()) + ks := crypto.NewKeyStorePlain(ethutil.DefaultDataDir()) am := NewAccountManager(ks) pass := "" // not used but required by API a1, err := am.NewAccount(pass) |