Skip to content

Commit

Permalink
Merge pull request #212 from mochalovv/fix/issue_#211
Browse files Browse the repository at this point in the history
Removing the duplicated calls for installing and uninstalling the filter
  • Loading branch information
conor10 committed Oct 30, 2017
2 parents 5097900 + ca3c9e6 commit 001c1cd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/src/main/java/org/web3j/protocol/rx/JsonRpc2_0Rx.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,6 @@ public void call() {
filter.cancel();
}
}));
scheduledExecutorService.submit(new Runnable() {
@Override
public void run() {
filter.run(scheduledExecutorService, pollingInterval);
}
});
subscriber.add(Subscriptions.create(new Action0() {
@Override
public void call() {
filter.cancel();
}
}));
}

public Observable<Transaction> transactionObservable(final long pollingInterval) {
Expand Down

0 comments on commit 001c1cd

Please sign in to comment.