Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-27 18:50:39 +03:00
parent bbcdc778fa
commit 8c6372e398
13 changed files with 136 additions and 82 deletions

View file

@ -66,7 +66,12 @@ class DefaultTxHistoryRepository(
override fun getTxExploreUrl(txHash: String, networkId: Network.ID): String {
val blockchain = Blockchain.fromId(networkId.value)
return blockchain.getExploreTxUrl(txHash)
// TODO: Fix ton tx urls [REDACTED_TASK_KEY]
return if (blockchain == Blockchain.TON || blockchain == Blockchain.TONTestnet) {
""
} else {
blockchain.getExploreTxUrl(txHash)
}
}
private suspend fun getUserWallet(userWalletId: UserWalletId): UserWallet {