stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: low
Invalid

`internal` functions not called by the contract should be removed

Vulnerability Details

All unused code should be removed and the SDLPoolSecondary::_transfer() function is internal and never called so it should be removed.

Recommendations

- function _transfer(
- address _from,
- address _to,
- uint256 _lockId
- ) internal override {
- if (queuedLockUpdates[_lockId].length != 0) revert CannotTransferWithQueuedUpdates();
- super._transfer(_from, _to, _lockId);
- }
Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.