mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/clef fix typo
This commit is contained in:
parent
cf930b9aaa
commit
7f6c0fb601
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ func readConfigYAML(path string) (*DBConf, error) {
|
|||
// yaml.Unmarshal()
|
||||
yamlContent, err := ioutil.ReadFile(path)
|
||||
if err != nil {
|
||||
log.Warn("Cannot read yaml file fro file:", path)
|
||||
log.Warn("Cannot read yaml file from file:", path)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
@ -231,7 +231,7 @@ func (kvstore *KVStore) queryRow(query string, args ...interface{}) (string, err
|
|||
row := DBRow{}
|
||||
err := kvstore.db.QueryRow(query, args...).Scan(&row.id, &row.key, &row.val)
|
||||
if err != nil {
|
||||
log.Error("Error querying row: ", err)
|
||||
log.Warn("No existing result is present in the database. It should be fine if you're creating a new entry")
|
||||
return "", err
|
||||
}
|
||||
return row.val, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue