From 31bd15413dd475da11665f798ba80476ca5b7158 Mon Sep 17 00:00:00 2001 From: Shargon Date: Tue, 19 Jan 2021 09:52:12 +0100 Subject: [PATCH] Clean settings --- src/OracleService/OracleService/config.json | 1 - src/OracleService/Settings.cs | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/OracleService/OracleService/config.json b/src/OracleService/OracleService/config.json index e08d8f6c2..7fd7f08ce 100644 --- a/src/OracleService/OracleService/config.json +++ b/src/OracleService/OracleService/config.json @@ -1,7 +1,6 @@ { "PluginConfiguration": { "Nodes": [], - "Wallet": "", "MaxTaskTimeout": 432000000, "AllowPrivateHost": false, "AllowedContentTypes": [ "application/json" ], diff --git a/src/OracleService/Settings.cs b/src/OracleService/Settings.cs index 282de2dc1..333100733 100644 --- a/src/OracleService/Settings.cs +++ b/src/OracleService/Settings.cs @@ -17,7 +17,6 @@ public HttpsSettings(IConfigurationSection section) class Settings { public string[] Nodes { get; } - public string Wallet { get; } public TimeSpan MaxTaskTimeout { get; } public bool AllowPrivateHost { get; } public string[] AllowedContentTypes { get; } @@ -28,7 +27,6 @@ class Settings private Settings(IConfigurationSection section) { Nodes = section.GetSection("Nodes").GetChildren().Select(p => p.Get()).ToArray(); - Wallet = section.GetValue("Wallet"); MaxTaskTimeout = TimeSpan.FromMilliseconds(section.GetValue("MaxTaskTimeout", 432000000)); AllowPrivateHost = section.GetValue("AllowPrivateHost", false); AllowedContentTypes = section.GetSection("AllowedContentTypes").GetChildren().Select(p => p.Get()).ToArray();