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

monero: match monero's stricter check when decompressing points #515

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

j-berman
Copy link
Contributor

@@ -787,7 +787,7 @@ impl SignableTransaction {
fee -= output.commitment.amount;
tx_outputs.push(Output {
amount: None,
key: output.dest.compress(),
key: output.dest.compress().to_bytes(),
Copy link
Member

Choose a reason for hiding this comment

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

Why did you remove the typing from CompressedEdwardsY to [u8; 32]?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted

@kayabaNerve kayabaNerve merged commit df85c09 into serai-dex:develop Feb 18, 2024
17 checks passed
@kayabaNerve
Copy link
Member

LGTM on being consistent :)

kayabaNerve pushed a commit that referenced this pull request Feb 25, 2024
* monero: match monero's stricter check when decompressing points

* Reverted type change for output key
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.

2 participants