Skip to content

Commit

Permalink
remove obsolete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LuccaBitfly committed Jun 6, 2024
1 parent 43c0870 commit 150a4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/api/data_access/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (d *DataAccessService) GetSearchValidatorsByGraffiti(ctx context.Context, c
ret := &t.SearchValidatorsByGraffiti{
Graffiti: graffiti,
}
err := db.ReaderDb.Get(&ret.Count, "select count(distinct proposer) from blocks where graffiti_text = $1;", graffiti) // added a limit here to keep the query fast
err := db.ReaderDb.Get(&ret.Count, "select count(distinct proposer) from blocks where graffiti_text = $1;", graffiti)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 150a4e7

Please sign in to comment.