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