Closed
Description
When creating a new account with getaccountaddress, assigning that address to another account and then getting a new address from getaccountaddress still returns the old address (thus not creating a new account).
Steps to reproduce:
getaccountaddress "foo"
returns: xyz123
setaccountaddress "xyz123" ""
getaccountaddress "foo"
returns: xyz123