Browse Source

fix explorer links

pull/45/head
Jane Mercer 5 years ago
parent
commit
5430ed2f9b
  1. 6
      src/mainwindow.cpp

6
src/mainwindow.cpp

@ -414,7 +414,7 @@ void MainWindow::setupStatusBar() {
url = "https://explorer.testnet.z.cash/tx/" + txid;
}
else {
url = "https://explorer.zcha.in/transactions/" + txid;
url = "https://explorer.pirate.black/tx/" + txid;
}
QDesktopServices::openUrl(QUrl(url));
});
@ -1093,7 +1093,7 @@ void MainWindow::setupBalancesTab() {
if (Settings::getInstance()->isTestnet()) {
url = "https://explorer.testnet.z.cash/address/" + addr;
} else {
url = "https://explorer.zcha.in/accounts/" + addr;
url = "https://explorer.pirate.black/address/" + addr;
}
QDesktopServices::openUrl(QUrl(url));
});
@ -1159,7 +1159,7 @@ void MainWindow::setupTransactionsTab() {
if (Settings::getInstance()->isTestnet()) {
url = "https://explorer.testnet.z.cash/tx/" + txid;
} else {
url = "https://explorer.zcha.in/transactions/" + txid;
url = "https://explorer.pirate.black/tx/" + txid;
}
QDesktopServices::openUrl(QUrl(url));
});

Loading…
Cancel
Save