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
https://github.com/aurafinance/aura-contracts-lite/blob/main/contracts/AuraLocker.sol#L309
uint256 reward = userData[_account][_rewardsToken].rewards; if (reward > 0)
reward is uint256, use "if(reward!=0)" will save gas
The text was updated successfully, but these errors were encountered:
zmj issue #106
50d2990
valid but saving 4 gas? cmon
Sorry, something went wrong.
No branches or pull requests
https://github.com/aurafinance/aura-contracts-lite/blob/main/contracts/AuraLocker.sol#L309
uint256 reward = userData[_account][_rewardsToken].rewards;
if (reward > 0)
reward is uint256, use "if(reward!=0)" will save gas
The text was updated successfully, but these errors were encountered: