eth/downloader: fix typo (#26716)

This commit is contained in:
ucwong
2023-02-16 19:40:16 +02:00
committed by GitHub
parent 13d7de77f4
commit e9d42499bb
+1 -1
View File
@@ -783,7 +783,7 @@ func (q *queue) DeliverBodies(id string, txLists [][]*types.Transaction, txListH
return errInvalidBody
}
if header.WithdrawalsHash == nil {
// nil hash means there withdrawals should not be present in body
// nil hash means that withdrawals should not be present in body
if withdrawalLists[index] != nil {
return errInvalidBody
}