fix monero.com block explorer link (#3174)

* fix monero.com block explorer link

* Rename transaction ID variable for consistency [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
malik1004x
2026-04-13 18:46:08 +02:00
committed by GitHub
co-authored by Omar Hatem
parent 9d7cc827ed
commit 5f42b393b4
@@ -397,7 +397,7 @@ abstract class TransactionDetailsViewModelBase with Store {
String get _explorerUrl {
final txId = transactionInfo.id;
final txId = transactionInfo.txHash;
if (wallet.chainId != null) {
final explorerUrl = evm!.getExplorerUrlForChainId(wallet.chainId!);
if (explorerUrl != null) return '$explorerUrl/tx/${txId}';