diff --git a/src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt b/src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt index a3e3053b..5e8f76d7 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt @@ -56,7 +56,7 @@ open class NativeCall( init { multistreamHolder.observeChains().subscribe { chain -> - if (!ethereumCallSelectors.containsKey(chain)) { + if (BlockchainType.from(chain) == BlockchainType.ETHEREUM && !ethereumCallSelectors.containsKey(chain)) { multistreamHolder.getUpstream(chain)?.let { up -> val reader = up.cast(EthereumMultistream::class.java).getReader() ethereumCallSelectors[chain] = EthereumCallSelector(reader.heightByHash())