Bitcoin Forum
May 21, 2024, 01:54:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: getaccountaddress returning a new address  (Read 628 times)
BRules (OP)
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


View Profile
May 29, 2013, 08: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?

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!