From fbd57c95fef3f4bbd33f2fb82ed492e86c928f76 Mon Sep 17 00:00:00 2001 From: Tommo-L Date: Thu, 16 Jul 2020 09:04:22 +0800 Subject: [PATCH] fix validatorscount --- src/neo/ProtocolSettings.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/neo/ProtocolSettings.cs b/src/neo/ProtocolSettings.cs index 79a422f060..7ac2f16273 100644 --- a/src/neo/ProtocolSettings.cs +++ b/src/neo/ProtocolSettings.cs @@ -47,9 +47,9 @@ private ProtocolSettings(IConfigurationSection section) { this.Magic = section.GetValue("Magic", 0x4F454Eu); this.AddressVersion = section.GetValue("AddressVersion", (byte)0x35); - IConfigurationSection section_sv = section.GetSection("StandbyValidators"); - if (section_sv.Exists()) - this.StandbyCommittee = section_sv.GetChildren().Select(p => p.Get()).ToArray(); + IConfigurationSection section_sc = section.GetSection("StandbyCommittee"); + if (section_sc.Exists()) + this.StandbyCommittee = section_sc.GetChildren().Select(p => p.Get()).ToArray(); else this.StandbyCommittee = new[] {