mirror of
https://github.com/0xShay/ticketchain.git
synced 2026-01-11 21:23:24 +00:00
Fix USD 1e18 bugs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user