ethereumproject / go-ethereum

Go language implementation of the original/classic design of the Ethereum protocol
GNU Lesser General Public License v3.0
441 stars 166 forks source link

crowdsale buytokens but get failed #638

Closed ghost closed 6 years ago

ghost commented 6 years ago

https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/examples/SimpleToken.sol https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/crowdsale/Crowdsale.sol

i deploy the above two contract use remix and etherwallet in ETC (Ethereum Commonwealth Geth) and i call Crowdsale.buyTokens but get FAILED. I do not know why? The same steps in eth Ropsten Test Network, It can succeed.

token crowdsale Failed transaction

ghost commented 6 years ago

etc main network just support solidity 0.4.21.