Skip to content

jsonrpc: Only print netaddr in getpeers when we know it #345

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

Merged
merged 2 commits into from
Nov 12, 2017

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Nov 9, 2017

Fixes #285

@cdecker cdecker added this to the v0.6 milestone Nov 9, 2017
@cdecker cdecker requested a review from rustyrussell November 9, 2017 13:05
@rustyrussell
Copy link
Contributor

You missed the other case, of peers in gossip. I also changed it to a json array, since nodes can have multiple (we'll only display one for now, however). Pushed on top, for your review.

cdecker and others added 2 commits November 12, 2017 11:33
Thought we don't handle it at the moment, nodes can certainly have multiple
addresses, and we should display them all.

Signed-off-by: Rusty Russell <[email protected]>
@cdecker cdecker merged commit f95afc5 into ElementsProject:master Nov 12, 2017
@cdecker cdecker deleted the patch-20 branch January 28, 2018 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants