Skip to content

ethnode: Fix new geth nodeID format check#67

Merged
shazow merged 4 commits intomasterfrom
fix-new-geth
Jul 15, 2019
Merged

ethnode: Fix new geth nodeID format check#67
shazow merged 4 commits intomasterfrom
fix-new-geth

Conversation

@shazow
Copy link
Copy Markdown
Member

@shazow shazow commented Jul 15, 2019

@shazow shazow requested a review from ryanschneider July 15, 2019 15:40
@shazow shazow mentioned this pull request Jul 15, 2019
func (n *gethNode) CheckCompatible(ctx context.Context) error {
// TODO: Make sure we have the necessary APIs available, maybe version check?
var result interface{}
err := n.client.CallContext(ctx, &result, "admin_addTrustedPeer", "")
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Been about 1.5 years, safe to stop checking for it.

Copy link
Copy Markdown
Collaborator

@ryanschneider ryanschneider left a comment

Choose a reason for hiding this comment

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

lgtm!

@shazow shazow merged commit f8c4d50 into master Jul 15, 2019
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.

ethnode: geth changed node input parsing, breaking admin_addTrustedPeer

2 participants