We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61687a1 commit 59df5bdCopy full SHA for 59df5bd
execution_chain/sync/wire_protocol/handler.nim
@@ -152,10 +152,10 @@ proc getBlockHeaders*(ctx: EthWireRef,
152
# EIP-4444 limit
153
if chain.isHistoryExpiryActive:
154
if req.reverse:
155
- if req.startBlock.number > chain.portal.limit:
+ if header.number > chain.portal.limit:
156
return move(list)
157
else:
158
- if req.startBlock.number + req.maxResults > chain.portal.limit:
+ if header.number + req.maxResults > chain.portal.limit:
159
160
161
totalBytes += getEncodedLength(header)
0 commit comments