mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 19:46:39 +00:00
eth/downloader: fix typo (#26716)
This commit is contained in:
parent
13d7de77f4
commit
e9d42499bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue