Skip to content

Commit 6158889

Browse files
authored
Merge pull request #1700 from kleros/fix/execute-rewards-maintenance-button
fix(web): execute-rewards-maintenance-button-logic
2 parents a7dc3c3 + af25fb2 commit 6158889

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/src/pages/Cases/CaseDetails/MaintenanceButtons/DistributeRewards.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ const DistributeRewards: React.FC<IDistributeRewards> = ({ id, roundIndex, setIs
5252
const argsArr: TransactionBatcherConfig = [];
5353

5454
for (const round of rounds) {
55-
argsArr.push({ ...baseArgs, args: [BigInt(id), BigInt(round.id.split("-")[1]), BigInt(round.nbVotes)] });
55+
argsArr.push({
56+
...baseArgs,
57+
args: [BigInt(id), BigInt(round.id.split("-")[1]), BigInt(round.nbVotes) * BigInt(2)],
58+
});
5659
}
5760

5861
setContractConfigs(argsArr);

0 commit comments

Comments
 (0)