diff --git a/db/bigtable_eth1.go b/db/bigtable_eth1.go index fe2a437e92..3ceaa2c472 100644 --- a/db/bigtable_eth1.go +++ b/db/bigtable_eth1.go @@ -1357,7 +1357,7 @@ func (bigtable *Bigtable) TransformItx(blk *types.Eth1Block, cache *freecache.Ca var revertSource string for j, itx := range tx.GetItx() { - if j >= ITX_PER_TX_LIMIT { + if j > ITX_PER_TX_LIMIT { return nil, nil, fmt.Errorf("unexpected number of internal transactions in block expected at most %d but got: %v, tx: %x", ITX_PER_TX_LIMIT, j, tx.GetHash()) } jReversed := reversePaddedIndex(j, ITX_PER_TX_LIMIT)