Skip to content

Commit

Permalink
eth/downloader: fix typo (#26716)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong authored Feb 16, 2023
1 parent 13d7de7 commit e9d4249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/downloader/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e9d4249

Please sign in to comment.