diff --git a/index.html b/index.html index 495b7796c9..d9434773b8 100644 --- a/index.html +++ b/index.html @@ -83,7 +83,7 @@ Source code on the left, compiled code and AST on the right (or error). voteCounts[proposal] += voterWeight[sender]; } - function winningProposal() const returns (uint8 winningProposal) { + function winningProposal() constant returns (uint8 winningProposal) { uint256 winningVoteCount = 0; uint8 proposal = 0; while (proposal < numProposals) {