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 /accounts/accounts_test.go | |
parent | 0b757ad12f6e79f8d8d92e412425f46a66d408c1 (diff) | |
parent | 40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c (diff) | |
download | go-tangerine-91a8c08f037c1ec737d15ce00c6720015347e0d6.tar.gz go-tangerine-91a8c08f037c1ec737d15ce00c6720015347e0d6.tar.zst go-tangerine-91a8c08f037c1ec737d15ce00c6720015347e0d6.zip |
Merge pull request #368 from maran/feature/changeDataDir
Implement OS sensitive dataDirs
Diffstat (limited to 'accounts/accounts_test.go')
-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) |