-
Notifications
You must be signed in to change notification settings - Fork 948
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
Include a check to ensure that a transfer is sent only if the slashed_amount is greater than 0 (audit issue #14) #603
Comments
Relevant code in the namada/proof_of_stake/src/lib.rs Lines 870 to 886 in 57fc202
The namada/proof_of_stake/src/lib.rs Lines 937 to 953 in 12ca4da
We don't explicitly check that the amount is greater than 0. We could take the recommendation to check the amount being passed in at the call site, or maybe have the |
Not relevant. |
This was finding 14 from the audit of
eth-bridge-integration
branch (commit 57fc202)The text was updated successfully, but these errors were encountered: