From b0b37b2428ff8fa5fb8a9e37ba276d58c07dc0cc Mon Sep 17 00:00:00 2001 From: Ethen Pociask Date: Fri, 13 Oct 2023 13:42:42 -0700 Subject: [PATCH] [indexer.bridge_offset_fix] Update blocks.go --- indexer/database/blocks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/database/blocks.go b/indexer/database/blocks.go index 518a029a0f42..f1afcbc2c893 100644 --- a/indexer/database/blocks.go +++ b/indexer/database/blocks.go @@ -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)