Skip to content

Commit

Permalink
Fix stupid mistake in ContributionRewardExt
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-kaufman committed Dec 22, 2019
1 parent 6cd8fc1 commit 4c4fba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mappings/Controller/mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export function setContributionRewardExtParams(avatar: Address,
rewarder: Address): void {
setGPParams(vmAddress, vmParamsHash);
let controllerScheme = ControllerScheme.load(crypto.keccak256(concat(avatar, scheme)).toHex());
let contributionRewardExtParams = new ContributionRewardExtParam(controllerScheme.paramsHash.toHex());
let contributionRewardExtParams = new ContributionRewardExtParam(scheme.toHex());
contributionRewardExtParams.votingMachine = vmAddress;
contributionRewardExtParams.voteParams = vmParamsHash.toHex();
contributionRewardExtParams.rewarder = rewarder;
Expand Down

0 comments on commit 4c4fba5

Please sign in to comment.