Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon committed Jul 8, 2020
1 parent 50ffaac commit 09f1b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/neo/SmartContract/Manifest/ContractAbi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public ContractAbi Clone()
{
Hash = Hash,
Methods = Methods.Select(p => p.Clone()).ToArray(),
Events = Events.Select(p => p.Clone()).ToArray(),
Events = Events.Select(p => p.Clone()).ToArray()
};
}

Expand All @@ -47,7 +47,7 @@ public static ContractAbi FromJson(JObject json)
{
Hash = UInt160.Parse(json["hash"].AsString()),
Methods = ((JArray)json["methods"]).Select(u => ContractMethodDescriptor.FromJson(u)).ToArray(),
Events = ((JArray)json["events"]).Select(u => ContractEventDescriptor.FromJson(u)).ToArray(),
Events = ((JArray)json["events"]).Select(u => ContractEventDescriptor.FromJson(u)).ToArray()
};
}

Expand Down

0 comments on commit 09f1b63

Please sign in to comment.