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

ethclient: ensure tx json is not nil before accessing it #19653

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

dshulyak
Copy link
Contributor

@dshulyak dshulyak commented Jun 1, 2019

TransactionInBlock always crashes if json is nil and there was an error.
It tries to access fields From and BlockHash of the nil object.

…ctionInBlock

TransactionInBlock always crashes if json is nil and there was an error.
It tries to access fields `From` and `BlockHash` of the nil object.
@fjl fjl changed the title [ethclient] Ensure that json is not nil before accessing it ethclient: ensure tx json is not nil before accessing it Jun 3, 2019
Copy link
Contributor

@fjl fjl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :)

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.

3 participants