Skip to content

Commit

Permalink
Merge pull request #371 from tangem/bugfix/AND-5237
Browse files Browse the repository at this point in the history
AND-5237 Fixed Optimism invalid explorer link
  • Loading branch information
Yoggam1 authored Nov 13, 2023
2 parents 2c6fa62 + 90a6a4e commit c286e2a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import com.tangem.blockchain.externallinkprovider.ExternalLinkProvider

internal class OptimismExternalLinkProvider(isTestnet: Boolean) : ExternalLinkProvider {

override val explorerBaseUrl: String = if (isTestnet) "https://goerli-optimism.etherscan.io/" else "https://optimistic.etherscan.io"
override val explorerBaseUrl: String =
if (isTestnet) "https://goerli-optimism.etherscan.io/" else "https://optimistic.etherscan.io/"

override val testNetTopUpUrl: String? = if (isTestnet) "https://optimismfaucet.xyz/" else null

Expand Down

0 comments on commit c286e2a

Please sign in to comment.