duaraghav8 / Ethlint

(Formerly Solium) Code quality & Security Linter for Solidity
https://ethlint.readthedocs.io/en/latest/
MIT License
926 stars 128 forks source link

“Consider using 'transfer' in place of 'call.value()” is a false error message #280

Open avatar-lavventura opened 4 years ago

avatar-lavventura commented 4 years ago
Consider using 'transfer' in place of 'call.value()'.                                                                                                                                 security/no-call-value

As for the solidity version 0.6.0, it is recommended to use call.value() from now on and using transfer is not recommended.

Please see => https://medium.com/consensys-diligence/stop-using-soliditys-transfer-now-b1b6d2d00faf

I advice for to remove this error message, which is misleading for the developers.

avatar-lavventura commented 2 years ago

"Consider using transfer in place of 'call.value()`" is a false error message by ethlint (https://ethereum.stackexchange.com/q/80402/4575)