aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-05-13 00:33:04 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-13 00:33:04 +0800
commite389585f1f2e77fd7cd507499015bf3754581e4e (patch)
tree3f1792e7d71a82de0ceb6047eaf87f2f72aa82ff /common
parent231fe04f0309e588c6151e1d5a14fd5adc116bf2 (diff)
downloaddexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.gz
dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.zst
dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.zip
Change default keystore dir
Diffstat (limited to 'common')
-rw-r--r--common/natspec/natspec_e2e_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/natspec/natspec_e2e_test.go b/common/natspec/natspec_e2e_test.go
index a7fc5cb77..a8d318b57 100644
--- a/common/natspec/natspec_e2e_test.go
+++ b/common/natspec/natspec_e2e_test.go
@@ -104,13 +104,13 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) {
os.RemoveAll("/tmp/eth-natspec/")
- err = os.MkdirAll("/tmp/eth-natspec/keys", os.ModePerm)
+ err = os.MkdirAll("/tmp/eth-natspec/keystore", os.ModePerm)
if err != nil {
panic(err)
}
// create a testAddress
- ks := crypto.NewKeyStorePassphrase("/tmp/eth-natspec/keys")
+ ks := crypto.NewKeyStorePassphrase("/tmp/eth-natspec/keystore")
am := accounts.NewManager(ks)
testAccount, err := am.NewAccount("password")
if err != nil {