Before I post this question, I have searched several times all such relative questions and couldn't find a proper solution. Let me narrate the steps I did and the Issue I have.
I did all these steps in Rinkeby network.
- I used Etherum Wallet (0.9.2) on windows 8.1 (64 bit) and deployed the same contract as mentioned in (https://www.ethereum.org/token); used the full coin code at the bottom of the page.
- I set the selling prices. Sell Price as 100000000000000 and buy price as 10000000000000, the total tokens as shown in the contract admin page is 10000000000000000000000.
- As I had two accounts in the wallet, tried to send ether (2 ethers) to the contact address but getting an error as "It seems this transaction will fail. If you submit it, it may consume all the gas you provide."
I ensured there is no throw
statement as I was using solidity version 0.4.16. And the other account has enough ether remaining too. I tried to use the maximum gas that was shown in the slider before clickig the send button.
Has anyone else had similar problem with the wallet, and addressed it somehow?