Skip to content

Commit

Permalink
Add voter to Parameterizer
Browse files Browse the repository at this point in the history
  • Loading branch information
kangarang authored and skmgoldin committed Apr 13, 2018
1 parent 1a2603b commit 57021d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Parameterizer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ contract Parameterizer {
event _ProposalExpired(bytes32 indexed propID);
event _ChallengeSucceeded(bytes32 indexed propID, uint indexed challengeID, uint rewardPool, uint totalTokens);
event _ChallengeFailed(bytes32 indexed propID, uint indexed challengeID, uint rewardPool, uint totalTokens);
event _RewardClaimed(uint indexed challengeID, uint reward);
event _RewardClaimed(uint indexed challengeID, uint reward, address indexed voter);


// ------
Expand Down Expand Up @@ -258,7 +258,7 @@ contract Parameterizer {
// ensures a voter cannot claim tokens again
challenges[_challengeID].tokenClaims[msg.sender] = true;

_RewardClaimed(_challengeID, reward);
_RewardClaimed(_challengeID, reward, msg.sender);
require(token.transfer(msg.sender, reward));
}

Expand Down

0 comments on commit 57021d4

Please sign in to comment.