diff --git a/src/Plugins/OracleService/Settings.cs b/src/Plugins/OracleService/Settings.cs index 4bcaf82f..0df3900c 100644 --- a/src/Plugins/OracleService/Settings.cs +++ b/src/Plugins/OracleService/Settings.cs @@ -35,12 +35,12 @@ public HttpsSettings(IConfigurationSection section) } } - class NeoFSSettings + class EpicChainSettings { public string EndPoint { get; } public TimeSpan Timeout { get; } - public NeoFSSettings(IConfigurationSection section) + public EpicChainSettings(IConfigurationSection section) { EndPoint = section.GetValue("EndPoint", "127.0.0.1:8080"); Timeout = TimeSpan.FromMilliseconds(section.GetValue("Timeout", 15000)); @@ -56,7 +56,7 @@ class Settings : PluginSettings public bool AllowPrivateHost { get; } public string[] AllowedContentTypes { get; } public HttpsSettings Https { get; } - public NeoFSSettings NeoFS { get; } + public EpicChainSettings NeoFS { get; } public bool AutoStart { get; } public static Settings Default { get; private set; } @@ -70,7 +70,7 @@ private Settings(IConfigurationSection section) : base(section) AllowPrivateHost = section.GetValue("AllowPrivateHost", false); AllowedContentTypes = section.GetSection("AllowedContentTypes").GetChildren().Select(p => p.Get()).ToArray(); Https = new HttpsSettings(section.GetSection("Https")); - NeoFS = new NeoFSSettings(section.GetSection("NeoFS")); + NeoFS = new EpicChainSettings(section.GetSection("NeoFS")); AutoStart = section.GetValue("AutoStart", false); }