update explorers
This commit is contained in:
parent
7c4f99c85d
commit
2e34983864
|
@ -141,12 +141,12 @@
|
|||
<widget class="QComboBox" name="comboBox_blockExplorer">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>explore.wownero.com</string>
|
||||
<string>muchwow.lol</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>kryfi.com</string>
|
||||
<string>explorer.suchwow.xyz</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
|
|
|
@ -26,7 +26,7 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
|
|||
{Config::openVRSkin,{QS("openVRSkin"), "default"}},
|
||||
{Config::openVRStreamerMode,{QS("openVRStreamerMode"), false}},
|
||||
{Config::preferredFiatCurrency,{QS("preferredFiatCurrency"), "USD"}},
|
||||
{Config::blockExplorer,{QS("blockExplorer"), "kryfi.com"}},
|
||||
{Config::blockExplorer,{QS("blockExplorer"), "explorer.suchwow.xyz"}},
|
||||
{Config::walletDirectory,{QS("walletDirectory"), ""}},
|
||||
{Config::autoOpenWalletPath,{QS("autoOpenWalletPath"), ""}},
|
||||
{Config::walletPath,{QS("walletPath"), ""}},
|
||||
|
|
|
@ -240,10 +240,10 @@ QString Utils::copyFromClipboard() {
|
|||
|
||||
QString Utils::blockExplorerLink(const QString &txid) {
|
||||
auto explorer = config()->get(Config::blockExplorer).toString();
|
||||
if(explorer.startsWith("kryfi.com")) {
|
||||
return QString("https://kryfi.com/explorer/wownero/tx/%1").arg(txid);
|
||||
if(explorer.startsWith("explorer.suchwow.xyz")) {
|
||||
return QString("https://explorer.suchwow.xyz/tx/%1").arg(txid);
|
||||
} else {
|
||||
return QString("https://explore.wownero.com/tx/%1").arg(txid);
|
||||
return QString("https://muchwow.lol/tx?id=%1").arg(txid);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue