-
Notifications
You must be signed in to change notification settings - Fork 94
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
[r2r] Fix P2P OrdermatchRequest backward compatibility. #1406
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I think we should add a comment about this on top of all enum variants that are used in P2P messages to not forget about it, similar to this https://github.com/KomodoPlatform/atomicDEX-API/blob/2af959c8ba514191b967c93cb86cb009d4dc1b0c/mm2src/mm2_main/src/lp_ordermatch.rs#L3713-L3716
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Agree with @shamardy, a doc-comment would be great for the developers.
@ozkanonur Will add in the dev branch after merging this hotfix 🙂 |
New enum variants should be added to the end to keep the rmp_serde serialization numeration.