Fix USD 1e18 bugs

This commit is contained in:
2024-10-27 06:24:45 +00:00
parent 935f0578a3
commit 9d460935c7
3 changed files with 4 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ export const createEvent = async ({
description,
location,
capacity,
ethers.utils.parseEther(ticketPrice.toString()),
Math.floor(ticketPrice * 100),
Math.floor(startDate.getTime() / 1000),
Math.floor(endDate.getTime() / 1000),
images