Title: jsonRPCClient Empty String Problem Post by: infra172 on April 19, 2011, 06:13:02 PM I'm having a problem getting the balance of the default empty string account using jsonRPCClient.php. Other commands are working fine and I can retrieve the balance of labeled accounts. But, for some reason, I can't get the balance of the "" account.
Here is what the request data looks like encoded in JSON: {"method":"getbalance","params":["\"\""],"id":1} Anyone else run into this problem? Title: Re: jsonRPCClient Empty String Problem Post by: infra172 on April 19, 2011, 06:35:12 PM Figured it out on my own. Maybe someone else will have the same problem.
Should be {"method":"getbalance","params":[""],"id":1} Don't know why I didn't think of it before. |