Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Conversation

@wemeetagain
Copy link
Member

Code reorganization of messagePublicKey

Previously, a non-buffer message.from would cause an error in peerId.isEqual(message.from).
https://github.com/libp2p/js-peer-id/blob/master/src/index.js#L154

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants