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 issue is identified in the initialize function of the StableAsset contract.
Within this function, there exist two checks that exhibit redundant logic:
require( _precisions[i] != 0 && _precisions[i] == 10 ** (18 - _decimals[i]), "precision not set" ); require(_precisions[i] != 0, "precision not set");
Given the conditions set by the first require statement, the second require is always satisfied if the first check passes.
Recommend removing the redundant require check.
The text was updated successfully, but these errors were encountered:
Mars12-dev
No branches or pull requests
The issue is identified in the initialize function of the StableAsset contract.
Within this function, there exist two checks that exhibit redundant logic:
Given the conditions set by the first require statement, the second require is always satisfied if the first check passes.
Recommend removing the redundant require check.
The text was updated successfully, but these errors were encountered: