richardschneider / net-ipfs-http-client

InterPlanetary File System client for .Net (C#, VB, F# ...)
MIT License
158 stars 52 forks source link

Remove non-existent key #41

Closed richardschneider closed 5 years ago

richardschneider commented 5 years ago

dotnet csipfs.dll --debug key rm x

[DEBUG] Ipfs.Api.IpfsClient - POST http://localhost:5001/api/v0/key/rm?arg=x
[DEBUG] Ipfs.Api.IpfsClient - RSP {"Keys":null}
Unable to cast object of type 'Newtonsoft.Json.Linq.JValue' to type 'Newtonsoft.Json.Linq.JArray'.

   at Ipfs.Api.KeyApi.RemoveAsync(String name, CancellationToken cancel)
   at Ipfs.Cli.KeyRemoveCommand.OnExecute(CommandLineApplication app)