forked from cerc-io/plugeth
eth/downloader: fix typo (#26716)
This commit is contained in:
parent
13d7de77f4
commit
e9d42499bb
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user