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

fix: update revert message to prevent comment syntax issues #422

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

codeesura
Copy link

This pull request updates the revert message in the contract to fix grammatical errors and avoid issues with the Solidity compiler mistaking apostrophes for the beginning of a comment. The original message "Failed to transferFrom from user's account" could be misinterpreted by the compiler due to the apostrophe. The updated message avoids this issue by rephrasing to "Failed to transfer from the account of the user", thereby maintaining the intended meaning without the risk of creating syntax errors in Solidity.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant