getnewaddress AccountA => 1AddressAxxxxxxxxxxx
setaccount 1AddressAxxxxxxxxxxx AccountB =>
getaddressesbyaccount AccountA => 1AddressBxxxxxxxxxxx
Wouldn't it be more logical for "getaddressesbyaccount AccountA" to return "[ ]" ? However, "setaccount" create a new key to AccountA, if 1AddressAxxxxxxxxxxx (the moved address) is the only key in AccountA
Why perform the check at line 191-197, instead of just "deleting" AccountA ?
src/rpcwallet.cpp:196 ( https://github.com/bitcoin/bitcoin/blob/master/src/rpcwallet.cpp#L196 )
(I'm new to github, so please tell me if I did something wrong :-)