Open code423n4 opened 1 year ago
The require(msg.sender == to, "Swap to self only"); check added to all of the 6 occurrences of this issue solved the problem.
require(msg.sender == to, "Swap to self only");
gzeon-c4 marked the issue as satisfactory
Lines of code
Vulnerability details
The
require(msg.sender == to, "Swap to self only");
check added to all of the 6 occurrences of this issue solved the problem.