diff --git a/src/main/kotlin/io/emeraldpay/dshackle/config/UpstreamsConfigReader.kt b/src/main/kotlin/io/emeraldpay/dshackle/config/UpstreamsConfigReader.kt index eaed76b5..f06055d3 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/config/UpstreamsConfigReader.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/config/UpstreamsConfigReader.kt @@ -48,6 +48,7 @@ class UpstreamsConfigReader( } private fun readInternal(input: MappingNode?): UpstreamsConfig { val config = UpstreamsConfig() + knownNodeIds.clear() getList(input, "defaults")?.value?.forEach { opts -> val defaultOptions = ChainOptions.DefaultOptions()