Title: "Deprecated" error when creating new address via armoryd.py Post by: bobulus on September 07, 2018, 05:21:53 PM When I try to create a new address using armoryd.py, I'm seeing a the following error response:
Code: [{"Error Value": "Deprecated, get address from mirror wallet instead", "Error Type": "Exception", "Error": "An error occurred in getnewaddress"}] I updated armoryd.py to use calculateAddrStr instead of getAddrStr. Is this the right fix? If so, I'll issue a pull request against the armoryd repo. Although it looks like that repo has been abandoned since there are still open pull requests. my "fix" Code: # return addr.getAddrStr() my request Code: curl http://xxx:yyy@127.0.0.1:18225 -d '{"method":"getnewaddress","params":[]}' armoryd.py log Code: Traceback (most recent call last): As an aside, this is not the standard use of the terminology "deprecated" in software. Deprecated functionality should give you warnings, not fail with errors. https://en.wikipedia.org/wiki/Deprecation |