diff options
author | Martin Holst Swende <martin@swende.se> | 2018-09-20 00:08:38 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-09-20 00:08:38 +0800 |
commit | 6f004c46d53958e2fe0e8aad5584a46f9f4bce6c (patch) | |
tree | 89667f749458f9c9f9c757e918cd42e7fd03ae03 /accounts/keystore/keystore.go | |
parent | 16e95f33b73b21dc77c7aab40b9764ecc38382a5 (diff) | |
download | dexon-6f004c46d53958e2fe0e8aad5584a46f9f4bce6c.tar dexon-6f004c46d53958e2fe0e8aad5584a46f9f4bce6c.tar.gz dexon-6f004c46d53958e2fe0e8aad5584a46f9f4bce6c.tar.bz2 dexon-6f004c46d53958e2fe0e8aad5584a46f9f4bce6c.tar.lz dexon-6f004c46d53958e2fe0e8aad5584a46f9f4bce6c.tar.xz dexon-6f004c46d53958e2fe0e8aad5584a46f9f4bce6c.tar.zst dexon-6f004c46d53958e2fe0e8aad5584a46f9f4bce6c.zip |
accounts/keystore: double-check keystore file after creation (#17348)
Diffstat (limited to 'accounts/keystore/keystore.go')
-rw-r--r-- | accounts/keystore/keystore.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/keystore/keystore.go b/accounts/keystore/keystore.go index 6b04acd05..2918047cc 100644 --- a/accounts/keystore/keystore.go +++ b/accounts/keystore/keystore.go @@ -78,7 +78,7 @@ type unlocked struct { // NewKeyStore creates a keystore for the given directory. func NewKeyStore(keydir string, scryptN, scryptP int) *KeyStore { keydir, _ = filepath.Abs(keydir) - ks := &KeyStore{storage: &keyStorePassphrase{keydir, scryptN, scryptP}} + ks := &KeyStore{storage: &keyStorePassphrase{keydir, scryptN, scryptP, false}} ks.init(keydir) return ks } |