Switch explorer to zcha.in - Fixes #5

This commit is contained in:
Aditya Kulkarni 2019-10-28 10:33:01 -07:00
parent dead02137e
commit cf7643f670
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}