mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-13 10:21:37 +00:00
remove incomplete condidtion
This commit is contained in:
parent
c7a527d580
commit
eefafc17ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue