diff --git a/src/main/kotlin/io/emeraldpay/dshackle/startup/ConfiguredUpstreams.kt b/src/main/kotlin/io/emeraldpay/dshackle/startup/ConfiguredUpstreams.kt index acf83017e..11a2fff5e 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/startup/ConfiguredUpstreams.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/startup/ConfiguredUpstreams.kt @@ -74,7 +74,7 @@ open class ConfiguredUpstreams( ) } } else { - upstreamFactory.creatGrpcUpstream( + upstreamFactory.createGrpcUpstream( up as UpstreamsConfig.Upstream, chainsConfig, ) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/startup/configure/UpstreamFactory.kt b/src/main/kotlin/io/emeraldpay/dshackle/startup/configure/UpstreamFactory.kt index 63986694a..9bef5c111 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/startup/configure/UpstreamFactory.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/startup/configure/UpstreamFactory.kt @@ -39,7 +39,7 @@ class UpstreamFactory( } } - fun creatGrpcUpstream( + fun createGrpcUpstream( config: UpstreamsConfig.Upstream, chainsConfig: ChainsConfig, ): GrpcUpstreams {