Skip to content

Commit

Permalink
Fix royalty percentage conversion and window size
Browse files Browse the repository at this point in the history
  • Loading branch information
greimela committed Jun 28, 2022
1 parent 5e45021 commit 8543db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function createWindow() {
win = new BrowserWindow({
title: 'Main window',
height: 1000,
width: 1280,
width: 1440,
webPreferences: {
preload: splash,
nodeIntegration: true,
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8543db9

Please sign in to comment.