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 5ac2724 commit bb53aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion foundation/src/main/resources/chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ chain-settings:
code: OPTIMISM_TESTNET
grpcId: 10010
short-names: [optimism-testnet, optimism-goerli]
chain-id: 0x1A4
chain-id: 0x1a4
- id: bsc
label: BNB Smart Chain
settings:
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/io/emeraldpay/dshackle/Global.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Global {

fun chainByChainId(id: String): Chain {
return Chain.values().find { chain ->
chain.chainId == id
chain.chainId.lowercase() == id.lowercase()
} ?: Chain.UNSPECIFIED
}

Expand Down

0 comments on commit bb53aa0

Please sign in to comment.