Switch explorer to zcha.in - Fixes #5
This commit is contained in:
@@ -162,7 +162,7 @@ void Settings::openAddressInExplorer(QString address) {
|
|||||||
if (Settings::getInstance()->isTestnet()) {
|
if (Settings::getInstance()->isTestnet()) {
|
||||||
url = "https://chain.so/address/ZECTEST/" + address;
|
url = "https://chain.so/address/ZECTEST/" + address;
|
||||||
} else {
|
} else {
|
||||||
url = "https://chain.so/address/ZEC/" + address;
|
url = "https://zcha.in/accounts/" + address;
|
||||||
}
|
}
|
||||||
QDesktopServices::openUrl(QUrl(url));
|
QDesktopServices::openUrl(QUrl(url));
|
||||||
}
|
}
|
||||||
@@ -173,7 +173,7 @@ void Settings::openTxInExplorer(QString txid) {
|
|||||||
url = "https://chain.so/tx/ZECTEST/" + txid;
|
url = "https://chain.so/tx/ZECTEST/" + txid;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
url = "https://chain.so/tx/ZEC/" + txid;
|
url = "https://zcha.in/transactions/" + txid;
|
||||||
}
|
}
|
||||||
QDesktopServices::openUrl(QUrl(url));
|
QDesktopServices::openUrl(QUrl(url));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user