Merge pull request 'remove ded explorer and add muchwow.lol' (#110) from wowario/wowlet:remove into master

Reviewed-on: https://git.wownero.com/wowlet/wowlet/pulls/110
This commit is contained in:
dsc 2023-04-03 17:31:38 +00:00
commit 24ff2b7120
3 changed files with 4 additions and 4 deletions

View File

@ -146,7 +146,7 @@
</item>
<item>
<property name="text">
<string>kryfi.com</string>
<string>muchwow.lol</string>
</property>
</item>
</widget>

View File

@ -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"), "muchwow.lol"}},
{Config::walletDirectory,{QS("walletDirectory"), ""}},
{Config::autoOpenWalletPath,{QS("autoOpenWalletPath"), ""}},
{Config::walletPath,{QS("walletPath"), ""}},

View File

@ -240,8 +240,8 @@ 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("muchwow.lol")) {
return QString("https://muchwow.lol/tx?id=%1").arg(txid);
} else {
return QString("https://explore.wownero.com/tx/%1").arg(txid);
}