Gas optimization: Unused variable in MochiVault.sol #52
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
Handle
gzeon
Vulnerability details
Impact
The uint256 public liquidated in MochiVault.sol is never used.
Proof of Concept
https://github.com/code-423n4/2021-10-mochi/blob/main/projects/mochi-core/contracts/vault/MochiVault.sol
L37: uint256 public liquidated;
Tools Used
None
Recommended Mitigation Steps
Remove the variable declaration
The text was updated successfully, but these errors were encountered: