Skip to content

Commit

Permalink
fix optimism testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed Oct 3, 2023
1 parent bb53aa0 commit 599f61f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ open class EthereumUpstreamValidator @JvmOverloads constructor(
netVersion(),
)
.map {
val isChainValid = chain.chainId == it.t1 && chain.netVersion.toString() == it.t2
val isChainValid = chain.chainId.lowercase() == it.t1.lowercase() &&
chain.netVersion.toString() == it.t2

if (!isChainValid) {
val actualChain = Global.chainByChainId(it.t1).chainName
Expand Down

0 comments on commit 599f61f

Please sign in to comment.