Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
XMLRPC: setaccount moves comment to the other, unused label #33
Comments
sgaltsev
closed this
May 9, 2012
sgaltsev
commented
May 9, 2012
|
this issue was open for a wrong branch, reopening in a right one |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sgaltsev commentedApr 26, 2012
This is the bug that has been in client and daemon since very beginning. Intention of setaccount command is essentially to rename existing account. For some reason, from very beginning, it was reallocating old label to some other address. Can we get rid of this?
There is no other means to rename the label using XMLRPC without creating artefacts.
Alternatively, is it possible to introduce another XMLRPC command designed to rename label on account?
Value setaccount(const Array& params, bool fHelp)
{
if (fHelp || params.size() < 1 || params.size() > 2)
throw runtime_error(
"setaccount \n"
"Sets the account associated with the given address.");
}