-
Update crowdsales.adoc fix invalid conversion (#2026) · cf0e71b4
Code sample for MyCrowdsaleDeployer causes TypeError: ``` browser/MyCrowdsaleDeployer.sol:21:13: TypeError: Invalid type for argument in function call. Invalid implicit conversion from address to contract IERC20 requested. address(token) // the token ^------------^ ``` Change: ```solidity address(token) // the token ``` To: ```solidity token // the token ``` Reported by community member in the forum: https://forum.openzeppelin.com/t/invalid-implicit-conversion-from-address-to-contract-ierc20-requested/1937Andrew B Coathup authored