Listaccount CLI command shows balance, but getbalance shows different balance

by Barney Chambers   Last Updated April 13, 2019 20:27 PM

I was sending some coins to myself using sendtoaddress, through the address I created using

./someBTCfork-cli getnewaddress

When I run

./someBTCfork-cli getbalance ""

My balance is 4999

When I run

./ someBTCfork-cli getbalance

My balance is 0.9

When I list my accounts using ./someBTCfork-cli listaccounts this returns:

{
"": 4999
}

What is going on here?



Related Questions


Updated September 14, 2017 05:27 AM

Updated May 25, 2018 07:27 AM

Updated January 19, 2019 18:27 PM

Updated February 20, 2018 16:27 PM

Updated October 05, 2018 03:27 AM