Open code423n4 opened 3 years ago
pauliax
function transferToPool is marked as 'payable'. It only transfers ERC20 tokens, no Ether, so there is no need in having 'payable' here.
Remove 'payable' modifier from function transferToPool.
True, thanks!
Handle
pauliax
Vulnerability details
Impact
function transferToPool is marked as 'payable'. It only transfers ERC20 tokens, no Ether, so there is no need in having 'payable' here.
Recommended Mitigation Steps
Remove 'payable' modifier from function transferToPool.