Always return a "transactions" array in account_tx, even if it's empty.

This commit is contained in:
JoelKatz
2013-04-06 12:22:33 -07:00
parent a91c484f99
commit e538c38d61

View File

@@ -1736,6 +1736,7 @@ Json::Value RPCHandler::doAccountTransactions(Json::Value jvRequest, int& cost)
Json::Value ret(Json::objectValue);
ret["account"] = raAccount.humanAccountID();
ret["transactions"] = Json::arrayValue;
if (bBinary)
{