Closed code423n4 closed 2 years ago
ye0lde
The unused function "_sendFunds" in Slingshot.sol is similiar to "sendFunds" in Executioner.sol. It's not clear if it should be used or not or will be used in the future.
https://github.com/code-423n4/2021-10-slingshot/blob/9c0432cca2e43731d5a0ae9c151dacf7835b8719/contracts/Slingshot.sol#L165-L178
Visual Studio Code
Use or remove the function or document its future use.
Duplicate of #28
Handle
ye0lde
Vulnerability details
Impact
The unused function "_sendFunds" in Slingshot.sol is similiar to "sendFunds" in Executioner.sol. It's not clear if it should be used or not or will be used in the future.
Proof of Concept
https://github.com/code-423n4/2021-10-slingshot/blob/9c0432cca2e43731d5a0ae9c151dacf7835b8719/contracts/Slingshot.sol#L165-L178
Tools Used
Visual Studio Code
Recommended Mitigation Steps
Use or remove the function or document its future use.