Browse Source

Switch explorer to zcha.in - Fixes #5

pull/14/head
Aditya Kulkarni 5 years ago
parent
commit
cf7643f670
  1. 4
      src/settings.cpp

4
src/settings.cpp

@ -162,7 +162,7 @@ void Settings::openAddressInExplorer(QString address) {
if (Settings::getInstance()->isTestnet()) {
url = "https://chain.so/address/ZECTEST/" + address;
} else {
url = "https://chain.so/address/ZEC/" + address;
url = "https://zcha.in/accounts/" + address;
}
QDesktopServices::openUrl(QUrl(url));
}
@ -173,7 +173,7 @@ void Settings::openTxInExplorer(QString txid) {
url = "https://chain.so/tx/ZECTEST/" + txid;
}
else {
url = "https://chain.so/tx/ZEC/" + txid;
url = "https://zcha.in/transactions/" + txid;
}
QDesktopServices::openUrl(QUrl(url));
}

Loading…
Cancel
Save