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

Accessing property name of undefined #3014

Closed
micahriggan opened this issue Aug 8, 2019 · 0 comments
Closed

Accessing property name of undefined #3014

micahriggan opened this issue Aug 8, 2019 · 0 comments
Labels
1.x 1.0 related issues Bug Addressing a bug

Comments

@micahriggan
Copy link
Contributor

micahriggan commented Aug 8, 2019

This line below will cause an unhandled, since event isn't defined

539     if (!event) {
540         throw new Error('Event "' + event.name + '" doesn\'t exist in this contract.');
541     }

https://github.com/ethereum/web3.js/blob/2022b17d52d31ce95559d18d5530d18c83eb4d1c/packages/web3-eth-contract/src/index.js#L540

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.x 1.0 related issues Bug Addressing a bug
Projects
None yet
Development

No branches or pull requests

2 participants