aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
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 /crypto
parent231fe04f0309e588c6151e1d5a14fd5adc116bf2 (diff)
downloaddexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar
dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.gz
dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.bz2
dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.lz
dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.xz
dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.tar.zst
dexon-e389585f1f2e77fd7cd507499015bf3754581e4e.zip
Change default keystore dir
Diffstat (limited to 'crypto')
-rw-r--r--crypto/crypto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto.go b/crypto/crypto.go
index ff817b0fa..4bbd62f7f 100644
--- a/crypto/crypto.go
+++ b/crypto/crypto.go
@@ -181,7 +181,7 @@ func Decrypt(prv *ecdsa.PrivateKey, ct []byte) ([]byte, error) {
// Used only by block tests.
func ImportBlockTestKey(privKeyBytes []byte) error {
- ks := NewKeyStorePassphrase(common.DefaultDataDir() + "/keys")
+ ks := NewKeyStorePassphrase(common.DefaultDataDir() + "/keystore")
ecKey := ToECDSA(privKeyBytes)
key := &Key{
Id: uuid.NewRandom(),