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

Remove footgun doc comment in miner TX validation #8212

Merged
merged 1 commit into from
Apr 6, 2022
Merged

Remove footgun doc comment in miner TX validation #8212

merged 1 commit into from
Apr 6, 2022

Conversation

kayabaNerve
Copy link

This comment suggests this check is unnecessary, when it is completely necessary as miner TXs can have multiple outputs which is a statement directly, and incorrectly, contradicted by this comment. While I don't ever see someone removing this code and getting their edits merged into Monero, someone inexperienced who thinks they're cleaning old code may break their own work, and then there's really just zero benefit to keeping this around.

This comment suggests this check is unnecessary, when it is completely necessary as miner TXs can have multiple outputs *which is a statement directly, and incorrectly, contradicted by this comment*. While I don't ever see someone removing this code and getting their edits merged into Monero, someone inexperienced who thinks they're cleaning old code may break their own work, and then there's really just zero benefit to keeping this around.
@luigi1111 luigi1111 merged commit 627f04c into monero-project:master Apr 6, 2022
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