Remove logging of password if fails (#7404)

* Remove logging of password if fails
This commit is contained in:
terence tsao
2020-10-01 10:41:23 -07:00
committed by GitHub
parent 95a5b4945b
commit 490cf9b7ba

View File

@@ -182,7 +182,7 @@ func main() {
prefix := params.BeaconConfig().ValidatorPrivkeyFileName
validatorKeys, err = store.GetKeys(prysmKeystorePath, prefix, rawPassword, false /* warnOnFail */)
if err != nil {
log.WithField("path", prysmKeystorePath).WithField("password", rawPassword).Errorf("Could not get keys: %v", err)
log.WithField("path", prysmKeystorePath).Errorf("Could not get keys: %v", err)
}
}