aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-02-25 00:30:44 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-02-25 00:30:44 +0800
commit91a8c08f037c1ec737d15ce00c6720015347e0d6 (patch)
tree172ed9fe314ecf7a873814e187353499d088952d /accounts
parent0b757ad12f6e79f8d8d92e412425f46a66d408c1 (diff)
parent40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c (diff)
downloaddexon-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 'accounts')
-rw-r--r--accounts/accounts_test.go3
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)