fix after tests
This commit is contained in:
@@ -12,13 +12,14 @@ import org.springframework.context.annotation.Bean
|
|||||||
import org.springframework.context.annotation.Configuration
|
import org.springframework.context.annotation.Configuration
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
class MultistreamsConfig {
|
open class MultistreamsConfig {
|
||||||
@Bean
|
@Bean
|
||||||
fun allMultistreams(
|
open fun allMultistreams(
|
||||||
cachesFactory: CachesFactory,
|
cachesFactory: CachesFactory,
|
||||||
callTargetsHolder: CallTargetsHolder
|
callTargetsHolder: CallTargetsHolder
|
||||||
): List<Multistream> {
|
): List<Multistream> {
|
||||||
return Chain.values()
|
return Chain.values()
|
||||||
|
.filterNot { it == Chain.UNSPECIFIED }
|
||||||
.mapNotNull { chain ->
|
.mapNotNull { chain ->
|
||||||
when (BlockchainType.from(chain)) {
|
when (BlockchainType.from(chain)) {
|
||||||
BlockchainType.EVM_POS -> EthereumPosMultiStream(
|
BlockchainType.EVM_POS -> EthereumPosMultiStream(
|
||||||
|
|||||||
Reference in New Issue
Block a user