Skip to main content
8 events
when toggle format what by license comment
Apr 13, 2017 at 13:01 history edited CommunityBot
replaced http://ethereum.stackexchange.com/ with https://ethereum.stackexchange.com/
Apr 3, 2017 at 6:44 vote accept tkdp
Apr 2, 2017 at 10:02 comment added tkdp i'm so sorry!!! i changed simply the pragma from ^0.4.0 to 0.4.8 and i'm happy => sorry to bother you with so stupid questions
Apr 2, 2017 at 7:10 comment added Rob Hitchens Your code compiled for me in (with one warning) in Remix (a.k.a. browser Solidity) solc 0.4.8 and 0.4.10. So, in theory error is different now. Gas:0 suggests compiler error.
Apr 2, 2017 at 7:07 history edited Rob Hitchens CC BY-SA 3.0
Respond to updated code
Apr 2, 2017 at 2:24 comment added Rob Hitchens Maybe put the whole contract in the question so we see the problem?
Apr 1, 2017 at 15:49 comment added tkdp Ok, i changed the code to the following function voteForAnswer(bytes32 questionKey, bytes32 answerKey) returns (bool success) { if (voters[msg.sender].enabled == false) { throw; } if (questions[questionKey].alreadyVoted[msg.sender] == true) { throw; } questions[questionKey].alreadyVoted[msg.sender] = true; questions[questionKey].answers[answerKey].voteCount += 1; VoterVotedFor(msg.sender, questionKey, answerKey); return true; } but i get still an error from Mist
Mar 30, 2017 at 10:51 history answered Rob Hitchens CC BY-SA 3.0