aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2015-02-23 18:28:20 +0800
committerMaran <maran.hidskes@gmail.com>2015-02-23 18:28:20 +0800
commit40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c (patch)
tree98c3bae13e0483cfd6a8919b9b5a848f72d79071 /accounts
parentdd086791acf477da7641c168f82de70ed0b2dca6 (diff)
downloaddexon-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.tar.gz
dexon-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.tar.zst
dexon-40adb7feb657cd1cb2e4c7a02c8a9db95b18e67c.zip
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)