Skip to content

Commit

Permalink
Merge pull request #87 from valory-xyz/tanya/launch-fix
Browse files Browse the repository at this point in the history
(launch) fix: incorrect numbers converting
  • Loading branch information
DavidMinarsch authored Aug 28, 2024
2 parents 21e1f03 + 6acb7d0 commit d7fe4d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/launch/common-util/functions/stakingContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export const getStakingContractInitPayload = ({
const stakingParams = {
metadataHash,
maxNumServices,
rewardsPerSecond: `${rewardsPerSecond * 10 ** 18}`,
minStakingDeposit: `${minStakingDeposit * 10 ** 18}`,
rewardsPerSecond: ethers.parseUnits(`${rewardsPerSecond}`, 18),
minStakingDeposit: ethers.parseUnits(`${minStakingDeposit}`, 18),
minNumStakingPeriods,
maxNumInactivityPeriods,
livenessPeriod,
Expand Down

0 comments on commit d7fe4d9

Please sign in to comment.