aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-07-22 19:00:09 +0800
committerFelix Lange <fjl@twurst.com>2015-07-22 19:00:09 +0800
commitd1d45aa8390731ad9d0422e6bbf2d451d11dab4d (patch)
treed562f038e25ce5f0fa0554db03f8b596bf4704a3 /crypto
parented1d2f858e009477a67689dc31d3fd41921b261e (diff)
parent06d5898d6a0f1f99505e55454688dd67237a98f9 (diff)
downloaddexon-d1d45aa8390731ad9d0422e6bbf2d451d11dab4d.tar.gz
dexon-d1d45aa8390731ad9d0422e6bbf2d451d11dab4d.tar.zst
dexon-d1d45aa8390731ad9d0422e6bbf2d451d11dab4d.zip
Merge pull request #1503 from fjl/fix-accounts-race
accounts: fix data race when key is locked after the unlock timeout
Diffstat (limited to 'crypto')
-rw-r--r--crypto/key_store_passphrase.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/key_store_passphrase.go b/crypto/key_store_passphrase.go
index 86b0b33c2..9700adce1 100644
--- a/crypto/key_store_passphrase.go
+++ b/crypto/key_store_passphrase.go
@@ -147,7 +147,6 @@ func (ks keyStorePassphrase) DeleteKey(keyAddr common.Address, auth string) (err
}
func decryptKeyFromFile(keysDirPath string, keyAddr common.Address, auth string) (keyBytes []byte, keyId []byte, err error) {
- fmt.Printf("%v\n", keyAddr.Hex())
m := make(map[string]interface{})
err = getKey(keysDirPath, keyAddr, &m)
if err != nil {