Passing the address of the token and changing ownership are two different things.

In MintableToken (https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/ERC20/MintableToken.sol) only allows contract owner to create tokens. Therefore we need to transfer ownership of the token contract to the crowdsale contract. Otherwise it won’t work and when sending transaction to the crowsale contract it will throw an exception.

    Gustavo (Gus) Guimaraes

    Written by

    A curious mind, joie de vivre practitioner