Skip to content

Commit

Permalink
feat: revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtom committed Jan 25, 2024
1 parent 0349e4d commit 88e89da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/callData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import { CallData, uint256 } from "starknet";

export function boostClaimCall(boost: Boost, sign: Signature) {
const amount = uint256.bnToUint256(
parseInt(String(boost.amount / boost.num_of_winners)) * Math.pow(10, 6)
parseInt(String(boost.amount / boost.num_of_winners))
);
console.log("amount", amount);
const claimCallData = CallData.compile({
amount: amount,
token: boost.token,
Expand Down

0 comments on commit 88e89da

Please sign in to comment.