diff --git a/src/main.js b/src/main.js index c125e43..0af2d65 100644 --- a/src/main.js +++ b/src/main.js @@ -275,7 +275,7 @@ async function handleGenerate() { - ${displayCardanoWallet(wallet.Cardano)} + ${displayCardanoWallet(wallet.Cardano, wallet.originalKey || wallet.extractedKey)} ${wallet.BTC ? displayBlockchain('Bitcoin', 'fab fa-bitcoin', wallet.BTC) : ''} ${wallet.FLO ? displayBlockchain('FLO', 'fas fa-leaf', wallet.FLO) : ''} `; @@ -342,7 +342,7 @@ async function handleRecoverPrivateKey() { - ${displayCardanoWallet(wallet.Cardano)} + ${displayCardanoWallet(wallet.Cardano, wallet.originalKey || wallet.extractedKey)} ${wallet.BTC ? displayBlockchain('Bitcoin', 'fab fa-bitcoin', wallet.BTC) : ''} ${wallet.FLO ? displayBlockchain('FLO', 'fas fa-leaf', wallet.FLO) : ''} `; @@ -993,7 +993,7 @@ document.addEventListener('DOMContentLoaded', () => { // Display Functions -function displayCardanoWallet(cardano) { +function displayCardanoWallet(cardano, masterKey) { return `
@@ -1019,12 +1019,12 @@ function displayCardanoWallet(cardano) {
` : ''} - ${cardano.rootKey ? ` + ${masterKey ? `
- ${cardano.rootKey} -