mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Add MoneroBlock to Utils.cpp
This commit is contained in:
parent
61523d40e6
commit
add8f2bc99
1 changed files with 7 additions and 2 deletions
|
@ -438,7 +438,12 @@ QString blockExplorerLink(const QString &blockExplorer, NetworkType::Type nettyp
|
|||
return QString("http://blkchairbknpn73cfjhevhla7rkp4ed5gg2knctvv7it4lioy22defid.onion/monero/transaction/%1").arg(txid);
|
||||
}
|
||||
}
|
||||
|
||||
else if (blockExplorer == "127.0.0.1:31312") {
|
||||
if (nettype == NetworkType::MAINNET) {
|
||||
return QString("http://127.0.0.1:31312/tx?id=%1").arg(txid);
|
||||
}
|
||||
}
|
||||
|
||||
switch (nettype) {
|
||||
case NetworkType::MAINNET:
|
||||
return QString("https://xmrchain.net/tx/%1").arg(txid);
|
||||
|
@ -566,4 +571,4 @@ QFont relativeFont(int delta) {
|
|||
font.setPointSize(font.pointSize() + delta);
|
||||
return font;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue