@@ -103,7 +103,7 @@ open class EthereumMultistream(
|
||||
upstreams.filter {
|
||||
matcher.matches(it)
|
||||
}.takeIf { ups ->
|
||||
ups.all { it.isGrpc() }
|
||||
ups.isNotEmpty() && ups.all { it.isGrpc() }
|
||||
}?.map {
|
||||
it as GrpcUpstream
|
||||
}?.map {
|
||||
|
||||
@@ -98,7 +98,7 @@ open class EthereumPosMultiStream(
|
||||
upstreams.filter {
|
||||
matcher.matches(it)
|
||||
}.takeIf { ups ->
|
||||
ups.all { it.isGrpc() }
|
||||
ups.isNotEmpty() && ups.all { it.isGrpc() }
|
||||
}?.map {
|
||||
it as GrpcUpstream
|
||||
}?.map {
|
||||
|
||||
Reference in New Issue
Block a user