Skip to content

Commit

Permalink
Fix: sync
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed May 4, 2024
1 parent 8e76b46 commit fe419bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/starknet-id/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ func (indexer *Indexer) resubscribe(ctx context.Context, id uint64) error {
func (indexer *Indexer) actualFilters(ctx context.Context, ch Channel, sub *grpc.Subscription) error {
if sub.EventFilter != nil {
for i := range sub.EventFilter {
sub.EventFilter[i].Height = &grpc.IntegerFilter{
Gt: ch.blockCtx.state.LastHeight,
}
// sub.EventFilter[i].Height = &grpc.IntegerFilter{
// Gt: ch.blockCtx.state.LastHeight,
// }
sub.EventFilter[i].Time = &grpc.TimeFilter{
Gt: 1701088623,
}
Expand Down

0 comments on commit fe419bd

Please sign in to comment.