Skip to content

Commit

Permalink
fix validatorscount (#1770)
Browse files Browse the repository at this point in the history
Co-authored-by: Tommo-L <[email protected]>
  • Loading branch information
Tommo-L and Tommo-L authored Jul 16, 2020
1 parent 2c20df6 commit b471576
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/neo/ProtocolSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>()).ToArray();
IConfigurationSection section_sc = section.GetSection("StandbyCommittee");
if (section_sc.Exists())
this.StandbyCommittee = section_sc.GetChildren().Select(p => p.Get<string>()).ToArray();
else
this.StandbyCommittee = new[]
{
Expand Down

0 comments on commit b471576

Please sign in to comment.