Hello all I have this line:
require(c.proxyPayment.value(msg.value)(msg.sender), "Controller returned false");

in solidity 0.4.x my contract and I'm receiving the error:
" Using ".value(...)" is deprecated. Use "{value: ...}" instead "

I cannot find on internet how to convert to solidity 0.7.x

Thanks in advanced and have a nice week.

Dec 1, 2020, 10:04 AM
https://vomtom.at/solidity-0-6-4-and-call-value-curly-brackets/
Dec 1, 2020, 10:06 AM
Thanks Lauri, I will read it.
Have a nice week.
Dec 1, 2020, 10:13 AM

© 2024 Draquery.com All rights reserved.