-
Notifications
You must be signed in to change notification settings - Fork 0
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
Audit fixes #19
Audit fixes #19
Conversation
Someone is attempting to deploy this pull request to the autonolas Team on Vercel. To accomplish this, the commit author's email address needs to be associated with a GitHub account. Learn more about how to change the commit author information. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
await checkAndApproveToken({ account, chainId, serviceId, amountToApprove: ethers.utils.parseUnits( | ||
`${totalBonds}`, | ||
'ether', | ||
)}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you might need to format the page - right click and format document
Proposed changes
Fixes
Removes max amount
amountToApprove: 1
for checkAndApproveTokenamountToApprove: total bounds amount
for checkAndApproveTokenTypes of changes
What types of changes does your code introduce?
Put an
x
in the boxes that apply