Author

Topic: getaccountaddress returning a new address (Read 647 times)

sr. member
Activity: 293
Merit: 250
May 29, 2013, 04:43:20 PM
#1
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?
Jump to: