Listaccount CLI command shows balance, but getbalance shows different balance

0

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?

Barney Chambers

Posted 2019-04-13T19:49:59.317

Reputation: 291

No answers