From c8a25cfdc324bdd368e2321944073eb73978a171 Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Fri, 17 Jan 2025 21:19:10 -0600 Subject: [PATCH] Format time for contract call --- frontend/src/tabs/worlds/WorldsCreationPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/tabs/worlds/WorldsCreationPanel.js b/frontend/src/tabs/worlds/WorldsCreationPanel.js index 4d0d76d8..faa246e7 100644 --- a/frontend/src/tabs/worlds/WorldsCreationPanel.js +++ b/frontend/src/tabs/worlds/WorldsCreationPanel.js @@ -52,8 +52,8 @@ const WorldsCreationPanel = (props) => { height: height, time_between_pixels: timer, color_palette: formattedPalette, - start_time: start, - end_time: end + start_time: start / 1000, + end_time: end / 1000 }; const createWorldsCalldata = props.canvasFactoryContract.populate( 'create_canvas',