eth/downloader: fix typo (#26716)

pull/26721/head
ucwong 2 years ago committed by GitHub
parent 13d7de77f4
commit e9d42499bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      eth/downloader/queue.go

@ -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
}

Loading…
Cancel
Save