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

Fix secp256k1 test #26

Merged
merged 1 commit into from
Jul 22, 2019
Merged

Conversation

aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Jul 14, 2019

Fix test for loading Secp256k1 private key, to expect the peer ID to be computed with identity hash, as this is the new behaviour in the peer-id package.

@aknuds1
Copy link
Contributor Author

aknuds1 commented Jul 14, 2019

@jacobheun This fixes the test error you were seeing. The test for loading Secp256k1 keys simply needed to be updated to mirror the new behaviour in the peer-id package, since the peer ID is computed with identity hash now.

Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

LGTM! It makes sense to change considering we moved to the identity hash

@jacobheun jacobheun merged commit fc46dbb into libp2p:master Jul 22, 2019
@aknuds1 aknuds1 deleted the bugfix/fix-secp256k1-test branch July 22, 2019 10:20
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