diff --git a/src/main/kotlin/io/emeraldpay/dshackle/config/context/MultistreamsConfig.kt b/src/main/kotlin/io/emeraldpay/dshackle/config/context/MultistreamsConfig.kt index cfa80f3a..d8204b87 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/config/context/MultistreamsConfig.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/config/context/MultistreamsConfig.kt @@ -12,13 +12,14 @@ import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration @Configuration -class MultistreamsConfig { +open class MultistreamsConfig { @Bean - fun allMultistreams( + open fun allMultistreams( cachesFactory: CachesFactory, callTargetsHolder: CallTargetsHolder ): List { return Chain.values() + .filterNot { it == Chain.UNSPECIFIED } .mapNotNull { chain -> when (BlockchainType.from(chain)) { BlockchainType.EVM_POS -> EthereumPosMultiStream(