code-423n4 / 2021-10-slingshot-findings

0 stars 0 forks source link

Unused function (_sendFunds in Slingshot.sol) #36

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

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.

tommyz7 commented 2 years ago

Duplicate of #28