code-423n4 / 2022-05-sturdy-findings

7 stars 3 forks source link

LidoVault: require(msg.value == 0); #167

Closed HickupHH3 closed 2 years ago

HickupHH3 commented 2 years ago

Reference: #2

Impact [8] Consider adding here require(msg.value == 0); since it is non-ETH token.

Affected code:

https://github.com/code-423n4/2022-05-sturdy/blob/78f51a7a74ebe8adfd055bdbaedfddc05632566f/smart-contracts/LidoVault.sol#L96