web3j
web3j copied to clipboard
log filter not work, case: on reinstallFilter() called, if getInitialFilterLogs() throw Exception, schedule is Cancelled on reinstallFilter.
https://github.com/web3j/web3j/blob/4b583dd0f701334be1f18abc925eff4dcb9c3e52/core/src/main/java/org/web3j/protocol/core/filters/Filter.java#L72
My temporary modification plan
- filter add subscriber::onError.
- when org.web3j.protocol.core.filters.Filter#run call by reinstallFilter(). call subscriber::onError.
- Use layers subscribe (throwable), on error resubscribe
Were you able to find a solution for this?