-
Notifications
You must be signed in to change notification settings - Fork 223
Create address returns "error", does not create new address (v.2.5.2) #70
Comments
Tried reproducing it with Debian Stretch, dotnet 2.0 and neo-cli 2.5.2, and it works for me:
|
I will compile the wallet to a debug-binary and report back. I don't work with .NET, but is there no other way to be able to implement a debug mode? Extended error messages could be helpful too. |
You can build a debug client with this:
|
The error it returned was "error: Specified method is not supported.". The wallet is open and the commands I used were Could we not have a more explicit error feedback in this wallet? I think it would help me, others, and the developers to decrease the time spend on debugging and answering issues posted here on Github. Eg. The program is actually explicit enough when I don't have my wallet open and I try to use the "create address" command. It states "Console.WriteLine("You have to open the wallet first.");", but if I check the source code for the OnCreateAddressCommand() method in the MainService class it returns the string "error" when the argument length is longer than 3. Should it not just tell me that I use a too high number and that it should have no more than 3 positions (or better: be lower than 999)? In my case, for the I'll fork the repository and help where I can, but I do not work with .NET or C# so you will have to check the pull request thoroughly. |
In v2.5.2, you can't add new addresses to the old db3 format wallet file any more. You can use the new JSON format. |
Okay thanks, I'll convert the wallet or transfer to the JSON format. |
Latest wallet (2.5.2) on Debian.
neo> create address
returns an "error" string, no address is being created.neo> create address 1
returns an "error" string, no address is being created.neo> create address 3
returns an "error" string, no address is being created. Since nothing is being logged for this one, I am not sure what is causing it. Is there a debug mode?The text was updated successfully, but these errors were encountered: