Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: BRules on May 29, 2013, 08:43:20 PM



Title: getaccountaddress returning a new address
Post by: BRules on May 29, 2013, 08:43:20 PM
I opened the console on the bitcoin-qt (testnet) and typed "getnewaddress test" and the response was:

mrQjTxenSc1ciDCPY7iBZkkMiiscmWN2eV

Then I typed "getaddressesbyaccount test" and the response was:

[
"mrQjTxenSc1ciDCPY7iBZkkMiiscmWN2eV"
]


but when I finally typed "getaccountaddress test" it returned a new address:

mpCNdCs8TKzs1QoyRomGo1DsjTLS6xj6E4

and from now on, every time I type "getaccountaddress test" it return the address above.


is this the way it should work? why not return the address generated by the "getnewaddress" command?