Skip to content

Commit e24b989

Browse files
committed
fix: hardcode ts
1 parent a134fd7 commit e24b989

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

repository/handlers/blocks.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ func (repo *BlocksRepo) _fetchBlockTime(blockNum int64) (uint64, error) {
110110
}
111111

112112
func (repo *BlocksRepo) fetchBlockTime(blockNum int64) uint64 {
113+
if blockNum == 23273170 && core.GetChainId(repo.client) == 1 {
114+
return 1756781603
115+
}
113116
bTime, err := repo._fetchBlockTime(blockNum)
114117
msg := ""
115118
if err != nil && strings.Contains(err.Error(), "not found") {

0 commit comments

Comments
 (0)