Remove spammy and unnecessary error log (#21)

This commit is contained in:
Edvard Hübinette 2019-02-22 12:56:06 +01:00 committed by GitHub
parent dc6a4a707e
commit fa4abe4e5c

View File

@ -88,7 +88,6 @@ func (repository HeaderRepository) getHeaderHash(header core.Header) (string, er
var hash string
err := repository.database.Get(&hash, `SELECT hash FROM headers WHERE block_number = $1 AND eth_node_fingerprint = $2`,
header.BlockNumber, repository.database.Node.ID)
log.Error("getHeaderHash: error getting headers: ", err)
return hash, err
}