From 8543db9b17df93ad01dd40cd8fbf8d0f2b29b27c Mon Sep 17 00:00:00 2001 From: Andreas Greimel Date: Tue, 28 Jun 2022 22:06:46 +0200 Subject: [PATCH] Fix royalty percentage conversion and window size --- electron/main/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron/main/index.ts b/electron/main/index.ts index 61bfa73..875bd06 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -34,7 +34,7 @@ async function createWindow() { win = new BrowserWindow({ title: 'Main window', height: 1000, - width: 1280, + width: 1440, webPreferences: { preload: splash, nodeIntegration: true, @@ -247,7 +247,7 @@ ipcMain.on('mint_nft', async (event, { responseChannel, ...args }) => { meta_uris: args.metadataUris, meta_hash: args.metadataHash, did_id: args.did.didId, - royalty_percentage: args.royaltyPercentage, + royalty_percentage: args.royaltyPercentage * 100, }); console.log(response); console.log(response.spend_bundle?.coin_solutions);