Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: codler on July 30, 2011, 01:54:30 PM



Title: [BUG] RPC getaccountaddress - not same as GUI?
Post by: codler on July 30, 2011, 01:54:30 PM
I have created some accounts via bitcoin client GUI. When I use the RPC command getaccountaddress to get the address, it creates a new address instead and when I try to rename the new address created by RPC via GUI it renames in GUI but still not via RPC.

Example
Lets say I have
Account        Address
Test             1BmAsnzVSfXd4xg6n3ufkEaRCD4advdgqg

I now call RPC getaccountaddress Test. It return a new address (1BUDcUr1WR6H12Vot7qprZoWeZUBunPuMg)

Now I have two accounts
Account        Address
Test             1BmAsnzVSfXd4xg6n3ufkEaRCD4advdgqg
Test             1BUDcUr1WR6H12Vot7qprZoWeZUBunPuMg

If I rename the new address (1BUDcUr1WR6H12Vot7qprZoWeZUBunPuMg) to Test2 in GUI and then call RPC getaccountaddress Test it still return 1BUDcUr1WR6H12Vot7qprZoWeZUBunPuMg


Im using win vista and the portable bitcoin client 0.3.24.