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
When joining a compute pool it looks like the computeLimit check is off by one, making the real compute limit computeLimit - 1:
require(addedCompute < pools[poolId].computeLimit, "ComputePool: pool is at capacity");
Could be changed to:
require(addedCompute <= pools[poolId].computeLimit, "ComputePool: pool is at capacity");
The text was updated successfully, but these errors were encountered:
Thanks for flagging! Feel free to submit a PR :)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When joining a compute pool it looks like the computeLimit check is off by one, making the real compute limit computeLimit - 1:
Could be changed to:
The text was updated successfully, but these errors were encountered: