Skip to content

Commit

Permalink
Fix incorrect getXPub in openExplorer() (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
JSKitty authored Sep 22, 2023
1 parent 02d885d commit e468186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit e468186

Please sign in to comment.