diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/Multistream.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/Multistream.kt index 738e972a..81741a2f 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/Multistream.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/Multistream.kt @@ -102,7 +102,7 @@ abstract class Multistream( private fun monitorUpstream(upstream: Upstream) { val id = upstream.getId() - //remove gouge for given upstream if exists - otherwise metric will stuck with prev upstream instance + // remove gouge for given upstream if exists - otherwise metric will stuck with prev upstream instance meters[id]?.let { Metrics.globalRegistry.remove(it) }