eth/protocols/eth: add comment

This commit is contained in:
Felix Lange 2026-03-30 15:05:56 +02:00
parent 3bebd989ba
commit 598572ed86

View file

@ -329,6 +329,8 @@ func serviceGetReceiptsQuery70(chain *core.BlockChain, query GetReceiptsRequest,
continue continue
} }
if results == nil { if results == nil {
// This case triggers when the first receipt of the block receipts list doesn't
// fit. We don't append anything to the response here and consider it finished.
break break
} }
receipts.AppendRaw(results) receipts.AppendRaw(results)