problem: shouldn't setup new chains not described by upstream
This commit is contained in:
@@ -46,7 +46,7 @@ class GrpcUpstreams(
|
|||||||
.subscribe { value ->
|
.subscribe { value ->
|
||||||
val chain = Chain.byId(value.chain.number)
|
val chain = Chain.byId(value.chain.number)
|
||||||
if (chain != Chain.UNSPECIFIED) {
|
if (chain != Chain.UNSPECIFIED) {
|
||||||
getOrCreate(chain).onStatus(value)
|
known[chain]?.onStatus(value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return loaded
|
return loaded
|
||||||
|
|||||||
Reference in New Issue
Block a user