From 6f004c46d53958e2fe0e8aad5584a46f9f4bce6c Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Wed, 19 Sep 2018 18:08:38 +0200 Subject: accounts/keystore: double-check keystore file after creation (#17348) --- accounts/keystore/keystore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accounts/keystore/keystore.go') 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 } -- cgit v1.2.3