We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The line
require( campaign.deadline < block.timestamp, "The deadline should be a future date" );
is going to return 0 in 0 < block.timestamp will always true
the correct line of code would be
require( _deadline >= block.timestamp, "The deadline should be a future date" );
in this case we are excepting the deadline to be in future if not revert the method
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The line
is going to return 0 in 0 < block.timestamp will always true
the correct line of code would be
in this case we are excepting the deadline to be in future if not revert the method
The text was updated successfully, but these errors were encountered: