Skip to content

Commit

Permalink
Merge branch 'update-wallet' of https://github.com/bettybao1209/neo-m…
Browse files Browse the repository at this point in the history
…odules into update-wallet
  • Loading branch information
bettybao1209 committed Jan 19, 2021
2 parents ad97e56 + 31bd154 commit 20e62e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/OracleService/OracleService/config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"PluginConfiguration": {
"Nodes": [],
"Wallet": "",
"MaxTaskTimeout": 432000000,
"AllowPrivateHost": false,
"AllowedContentTypes": [ "application/json" ],
Expand Down
2 changes: 0 additions & 2 deletions src/OracleService/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand All @@ -28,7 +27,6 @@ class Settings
private Settings(IConfigurationSection section)
{
Nodes = section.GetSection("Nodes").GetChildren().Select(p => p.Get<string>()).ToArray();
Wallet = section.GetValue<string>("Wallet");
MaxTaskTimeout = TimeSpan.FromMilliseconds(section.GetValue("MaxTaskTimeout", 432000000));
AllowPrivateHost = section.GetValue("AllowPrivateHost", false);
AllowedContentTypes = section.GetSection("AllowedContentTypes").GetChildren().Select(p => p.Get<string>()).ToArray();
Expand Down

0 comments on commit 20e62e8

Please sign in to comment.