Skip to content

Commit

Permalink
[indexer.bridge_offset_fix] Update blocks.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethen Pociask committed Oct 13, 2023
1 parent d605488 commit b0b37b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/database/blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (db *blocksDB) LatestObservedEpoch(fromL1Height *big.Int, maxL1Range uint64
// We use timestamps since that translates to both L1 & L2
var fromTimestamp, toTimestamp uint64

// Lower Bound (the default `fromTimestamp = l1_starting_heigh` (default=0) suffices genesis representation)
// Lower Bound (the default `fromTimestamp = l1_starting_height` (default=0) suffices genesis representation)
var header L1BlockHeader
if fromL1Height != nil {
result := db.gorm.Where("number = ?", fromL1Height).Take(&header)
Expand Down

0 comments on commit b0b37b2

Please sign in to comment.