Through dogecoin-cli, I sent half the dogecoins I own to an external address. Now, when I call the listaccounts function, I get this:
[root@web ~]# ./dogecoin-cli listaccounts
{
"" : -25001.00000000,
"doge" : 48136.85072100
}
Notice how the "" has -25001.00000000. I am using a query from php to get the balance of "doge" and display it to users. That returns 48136.85072100, which is a problem, because I only have 23135.85072100 doge. How can I fix this problem? Thanks!
sendfrom
to send from a specific account. If you don't care about the accounts, usegetbalance