-
Notifications
You must be signed in to change notification settings - Fork 6
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
Remove duplicate calculateFees method #46
Comments
It is not duplicate, if you will check modifiers - you will see there are internal and external functions instead of one public. It helps to minimize gas usage for every call inside contract functions. |
Hmm, interesting; Why not call change the call to the contracts method to directly call the library methods? |
Sure, you are right - my mistake. I will fix that |
No worries; not a mistake! I left it out of the method to begin with! So it was my mistake! 😄 |
This appears to be a duplicate, having the same method ID.
https://github.com/tokenio/tokeninc-smart-contracts/blob/7346eb641930004853de791cbe650d9dd07e8285/contracts/TokenIOERC20FeesApply.sol#L185
The text was updated successfully, but these errors were encountered: