Skip to content

Commit af25fb2

Browse files
committedSep 26, 2024··
fix(web): execute-rewards-maintenance-button-logic
1 parent a7dc3c3 commit af25fb2

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)
Please sign in to comment.