Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: stackmint on March 10, 2014, 10:20:34 PM



Title: coin daemon question/wallet for getbalance
Post by: stackmint on March 10, 2014, 10:20:34 PM
Hi,

I'm running a particular pos/pow wallet in this case.   When I do a

./exampled getbalance

I get one amount

244938

Yet when I do..

./exampled getbalance ""

I get
588477

The second amount is the correct one.. although why is this behavior happening?

Thanks!


Title: Re: coin daemon question/wallet for getbalance
Post by: thenoblebot on March 11, 2014, 05:11:13 AM
The "" refers to the default account, when you do not specify an argument it returns the balance available for all the accounts.


Title: Re: coin daemon question/wallet for getbalance
Post by: GVanelly on March 11, 2014, 10:28:26 AM
What will happen if I specify an argument?