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

in Mint(), _amount == 0 instead of <= #104

Closed
wants to merge 1 commit into from

Conversation

AAYUSH-GUPTA-coder
Copy link
Contributor

in Mint(), _amount == 0 instead of <= because uint256 don't accept negative integer

in Mint(), `_amount == 0` instead of `<=` because uint256 don't accept negative integer
@EngrPips
Copy link

EngrPips commented Dec 3, 2024

Hello @AAYUSH-GUPTA-coder, Thanks for this contribution. This will be attended to appropriately as soon as possible.

@PatrickAlphaC
Copy link
Member

Eh, both are fine. I'd like to see a gas comparison. I remember one of the two being more gas efficient, even if it looks silly.

Let me know if you run a gas simulation which one is cheaper.

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