Skip to content

Commit

Permalink
Fix websocket from_height (#1853)
Browse files Browse the repository at this point in the history
  • Loading branch information
codchen authored Sep 13, 2024
1 parent 8defdf4 commit aeecb5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evmrpc/subscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ func (a *SubscriptionAPI) Logs(ctx context.Context, filter *filters.FilterCriter
return
}
begin = lastToHeight
filter.FromBlock = big.NewInt(lastToHeight + 1)

time.Sleep(SleepInterval)
}
Expand Down

0 comments on commit aeecb5f

Please sign in to comment.