Skip to content

Commit

Permalink
Clear reset only when we uninstall
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Broadhurst <peter.broadhurst@kaleido.io>
  • Loading branch information
peterbroadhurst committed Mar 3, 2023
1 parent 0917512 commit 5fa9e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethereum/event_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ func (es *eventStream) leadGroupSteadyState() bool {
// Uninstall any existing filter
if filter != "" {
es.uninstallFilter(&filter)
filterResetRequired = false
}
filterResetRequired = false
filterRPC = "eth_getFilterLogs" // first JSON/RPC after getting a new filter ID
// Determine the earliest block we need to poll from
fromBlock := int64(-1)
Expand Down

0 comments on commit 5fa9e6c

Please sign in to comment.