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

rpc/api: fix #1972 api regression (nil eth panic) in attach #1974

Merged
merged 1 commit into from
Nov 6, 2015

Conversation

karalabe
Copy link
Member

@karalabe karalabe commented Nov 6, 2015

The peer info polish PR #1934 introduced a small regression during console attachment by calling a method on the local eth object (which does not exist) resulting in a nil panic. This was an unfortunate oversight that the object is nil during attach. This PR fixes that by moving the network accessing code back into the internals of the admin RPI API. This will be sorted out in a nicer way in the custom protocol stack PR, so it should be fine for now as a hotfix.

@robotally
Copy link

Vote Count Reviewers
👍 1 @bas-vk
👎 0

Updated: Fri Nov 6 10:21:45 UTC 2015

@ethernomad
Copy link
Contributor

This fixes the problem.

@codecov-io
Copy link

Current coverage is 46.46%

Merging #1974 into develop will decrease coverage by -0.02% as of 45ad1e0

Powered by Codecov. Updated on successful CI builds.

@bas-vk
Copy link
Member

bas-vk commented Nov 6, 2015

👍

obscuren added a commit that referenced this pull request Nov 6, 2015
rpc/api: fix #1972 api regression (nil eth panic) in attach
@obscuren obscuren merged commit da66968 into ethereum:develop Nov 6, 2015
@obscuren obscuren removed the review label Nov 6, 2015
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.

6 participants