In the Zapper.sol, in the function wrapETH(), rather than sending ETH to the default payable function, call the deposit() function in WETH since it calls that function anyway.
Recommended Mitigation Steps
Call deposit() function in the WETH contract directly.
Handle
cryptojedi88
Vulnerability details
Impact
In the Zapper.sol, in the function wrapETH(), rather than sending ETH to the default payable function, call the deposit() function in WETH since it calls that function anyway.
Recommended Mitigation Steps
Call deposit() function in the WETH contract directly.