Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call self.watch only if the callback is a function - #355

Merged
merged 1 commit into from
Jan 14, 2016

Conversation

simov
Copy link
Contributor

@simov simov commented Dec 16, 2015

For some reason when the callback is added through the watch method for allEvents,
the Filter ctor receives the options object in place of the callback.
Fixes #354

For some reason when the callback is added through the watch method for allEvents,
the Filter ctor receives the options object in place of the callback.
Fixes web3#354
frozeman added a commit that referenced this pull request Jan 14, 2016
Call self.watch only if the callback is a function -
@frozeman frozeman merged commit 93786af into web3:master Jan 14, 2016
@frozeman
Copy link
Contributor

Thanks, again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants