Skip to content

Commit

Permalink
uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
srene committed Sep 4, 2024
1 parent 9840d43 commit f3fc689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indexers/blockindexer/kv/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (idx *BlockerIndexer) Search(ctx context.Context, q *query.Query) ([]int64,

// If there is an exact height query, return the result immediately
// (if it exists).
/*height, ok := lookForHeight(conditions)
height, ok := lookForHeight(conditions)
if ok {
ok, err := idx.Has(height)
if err != nil {
Expand All @@ -117,7 +117,7 @@ func (idx *BlockerIndexer) Search(ctx context.Context, q *query.Query) ([]int64,
}

return results, nil
}*/
}

var heightsInitialized bool
filteredHeights := make(map[string][]byte)
Expand Down

0 comments on commit f3fc689

Please sign in to comment.