diff --git a/scripts/global.js b/scripts/global.js index 0098f5c00..1ce274f8c 100644 --- a/scripts/global.js +++ b/scripts/global.js @@ -801,7 +801,7 @@ export async function openSendQRScanner() { */ export async function openExplorer(strAddress = '') { if (wallet.isLoaded() && wallet.isHD() && !strAddress) { - const xpub = await wallet.getxpub(); + const xpub = await wallet.getXPub(); window.open(cExplorer.url + '/xpub/' + xpub, '_blank'); } else { const address = strAddress || (await wallet.getAddress());