forked from cerc-io/ipld-eth-server
Remove spammy and unnecessary error log (#21)
This commit is contained in:
parent
dc6a4a707e
commit
fa4abe4e5c
@ -88,7 +88,6 @@ func (repository HeaderRepository) getHeaderHash(header core.Header) (string, er
|
|||||||
var hash string
|
var hash string
|
||||||
err := repository.database.Get(&hash, `SELECT hash FROM headers WHERE block_number = $1 AND eth_node_fingerprint = $2`,
|
err := repository.database.Get(&hash, `SELECT hash FROM headers WHERE block_number = $1 AND eth_node_fingerprint = $2`,
|
||||||
header.BlockNumber, repository.database.Node.ID)
|
header.BlockNumber, repository.database.Node.ID)
|
||||||
log.Error("getHeaderHash: error getting headers: ", err)
|
|
||||||
return hash, err
|
return hash, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user