You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2023. It is now read-only.
github-actionsbot opened this issue
Mar 1, 2023
· 0 comments
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelMediumA valid Medium severity issueRewardA payout will be made for this issue
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
DuplicateA valid issue that is a duplicate of an issue with `Has Duplicates` labelMediumA valid Medium severity issueRewardA payout will be made for this issue
Breeje
medium
doCutDepositFee
anddoCutWithdrawFee
doesn't takeFEES ON TRANSFER TOKENS
in accountSummary
Fees on transfer case not considered in couple of methods.
Vulnerability Detail
In
BlueBerryBank
,doCutDepositFee
anddoCutWithdrawFee
methods transfers the fees but doesn't handle fees on transfer condition.Impact
The passes value of deducting the fees can be incorrect.
Code Snippet
Link to code
Tool used
Manual Review
Recommendation
Recommend to check balance before and after transfer and return the value accordingly
Duplicate of #153
The text was updated successfully, but these errors were encountered: