Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
fix (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashuaidehao authored Aug 12, 2022
1 parent 92bed8e commit bc208c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neo-cli/CLI/MainService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public MainService() : base()
RegisterCommandHandler<string[], UInt160[]>(arr => arr.Select(str => StringToAddress(str, NeoSystem.Settings.AddressVersion)).ToArray());
RegisterCommandHandler<string, ECPoint>(str => ECPoint.Parse(str.Trim(), ECCurve.Secp256r1));
RegisterCommandHandler<string[], ECPoint[]>(str => str.Select(u => ECPoint.Parse(u.Trim(), ECCurve.Secp256r1)).ToArray());
RegisterCommandHandler<string, JObject>(str => JObject.Parse(str));
RegisterCommandHandler<string, JToken>(str => JToken.Parse(str));
RegisterCommandHandler<string, JObject>(str => (JObject)JToken.Parse(str));
RegisterCommandHandler<string, decimal>(str => decimal.Parse(str, CultureInfo.InvariantCulture));
RegisterCommandHandler<JToken, JArray>(obj => (JArray)obj);

Expand Down

0 comments on commit bc208c8

Please sign in to comment.