Skip to content

Commit

Permalink
Merge pull request #278 from OffchainLabs/l1-block-search-limit
Browse files Browse the repository at this point in the history
Increase classic L1 block search limit
  • Loading branch information
PlasmaPower authored Jan 18, 2024
2 parents dff302d + 4a2ce4c commit 3d026ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ func (s *BlockChainAPI) arbClassicL1BlockNumber(ctx context.Context, block *type
}
i++
blockNum = startBlockNum - i
if i > 5 {
if i > 50 {
return 0, fmt.Errorf("couldn't find block with transactions. Reached %d", blockNum)
}
var err error
Expand Down

0 comments on commit 3d026ac

Please sign in to comment.