eth/downloader: fix typo (#26716)

This commit is contained in:
ucwong 2023-02-16 11:40:16 -06:00 committed by GitHub
parent 13d7de77f4
commit e9d42499bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -783,7 +783,7 @@ func (q *queue) DeliverBodies(id string, txLists [][]*types.Transaction, txListH
return errInvalidBody return errInvalidBody
} }
if header.WithdrawalsHash == nil { 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 { if withdrawalLists[index] != nil {
return errInvalidBody return errInvalidBody
} }