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

Refactor: unify protocol reveal params and proof messages #325

Conversation

h4sh3d
Copy link
Member

@h4sh3d h4sh3d commented Jan 2, 2023

Closes #278

We don't need to have two peer message types for revealing parameters and proofs. The current node implementation group them in an enum under Alice and Bob, this enum containing the old reveal params and proof and had the swap id field twice. This fixes it and will simplify node's implementation.

@h4sh3d h4sh3d marked this pull request as ready for review January 2, 2023 12:52
@TheCharlatan TheCharlatan merged commit f8b97e3 into farcaster-project:main Jan 2, 2023
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.

Merge reveals params and proof protocol messages
2 participants