update explorers

pull/116/head
lza_menace 12 months ago
parent 7c4f99c85d
commit 2e34983864

@ -141,12 +141,12 @@
<widget class="QComboBox" name="comboBox_blockExplorer"> <widget class="QComboBox" name="comboBox_blockExplorer">
<item> <item>
<property name="text"> <property name="text">
<string>explore.wownero.com</string> <string>muchwow.lol</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>kryfi.com</string> <string>explorer.suchwow.xyz</string>
</property> </property>
</item> </item>
</widget> </widget>

@ -26,7 +26,7 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
{Config::openVRSkin,{QS("openVRSkin"), "default"}}, {Config::openVRSkin,{QS("openVRSkin"), "default"}},
{Config::openVRStreamerMode,{QS("openVRStreamerMode"), false}}, {Config::openVRStreamerMode,{QS("openVRStreamerMode"), false}},
{Config::preferredFiatCurrency,{QS("preferredFiatCurrency"), "USD"}}, {Config::preferredFiatCurrency,{QS("preferredFiatCurrency"), "USD"}},
{Config::blockExplorer,{QS("blockExplorer"), "kryfi.com"}}, {Config::blockExplorer,{QS("blockExplorer"), "explorer.suchwow.xyz"}},
{Config::walletDirectory,{QS("walletDirectory"), ""}}, {Config::walletDirectory,{QS("walletDirectory"), ""}},
{Config::autoOpenWalletPath,{QS("autoOpenWalletPath"), ""}}, {Config::autoOpenWalletPath,{QS("autoOpenWalletPath"), ""}},
{Config::walletPath,{QS("walletPath"), ""}}, {Config::walletPath,{QS("walletPath"), ""}},

@ -240,10 +240,10 @@ QString Utils::copyFromClipboard() {
QString Utils::blockExplorerLink(const QString &txid) { QString Utils::blockExplorerLink(const QString &txid) {
auto explorer = config()->get(Config::blockExplorer).toString(); auto explorer = config()->get(Config::blockExplorer).toString();
if(explorer.startsWith("kryfi.com")) { if(explorer.startsWith("explorer.suchwow.xyz")) {
return QString("https://kryfi.com/explorer/wownero/tx/%1").arg(txid); return QString("https://explorer.suchwow.xyz/tx/%1").arg(txid);
} else { } else {
return QString("https://explore.wownero.com/tx/%1").arg(txid); return QString("https://muchwow.lol/tx?id=%1").arg(txid);
} }
} }

Loading…
Cancel
Save