decimals return of costBasis is not used. #205
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
xYrYuYx
Vulnerability details
Impact
costBasis() function in SwingTrader.sol returns cost and decimals,
But decimals variable is not used in anywhere inside contract.
Tools Used
Manual
Recommended Mitigation Steps
Re-check if decimals is required, and remove if it’s not required.
The text was updated successfully, but these errors were encountered: