remove incomplete condidtion

This commit is contained in:
healthykim 2026-03-20 17:35:20 +09:00
parent c7a527d580
commit eefafc17ba

View file

@ -261,7 +261,7 @@ func blockReceiptsToNetwork(blockReceipts, blockBody rlp.RawValue, q receiptQuer
it, _ = rlp.NewListIterator(blockReceipts)
)
outer := enc.List()
for i := 0; it.Next() && !incomplete; i++ {
for i := 0; it.Next(); i++ {
txType, end := nextTxType()
if end {
return nil, false, fmt.Errorf("block has less txs than receipts (%d)", i)