mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
Utils: add blockchair.com block explorer
This commit is contained in:
parent
20b741d30d
commit
cb6f2873a9
2 changed files with 10 additions and 0 deletions
|
@ -175,6 +175,11 @@
|
||||||
<string>moneroblocks.info</string>
|
<string>moneroblocks.info</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>blockchair.com</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="4" column="0">
|
||||||
|
|
|
@ -382,6 +382,11 @@ QString Utils::blockExplorerLink(const QString &blockExplorer, NetworkType::Type
|
||||||
return QString("https://moneroblocks.info/tx/%1").arg(txid);
|
return QString("https://moneroblocks.info/tx/%1").arg(txid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (blockExplorer == "blockchair.com") {
|
||||||
|
if (nettype == NetworkType::MAINNET) {
|
||||||
|
return QString("https://blockchair.com/monero/transaction/%1").arg(txid);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch (nettype) {
|
switch (nettype) {
|
||||||
case NetworkType::MAINNET:
|
case NetworkType::MAINNET:
|
||||||
|
|
Loading…
Reference in a new issue