total_page_no added to api/transactions

issue: https://github.com/moneroexamples/onion-monero-blockchain-explorer/issues/55#issuecomment-299680916
This commit is contained in:
moneroexamples 2017-05-07 14:19:32 +08:00
parent 39df8497e3
commit ec38e423fd
1 changed files with 2 additions and 0 deletions

View File

@ -4289,6 +4289,8 @@ namespace xmreg
j_data["page"] = page;
j_data["limit"] = limit;
j_data["current_height"] = height;
j_data["total_page_no"] = (height / limit);
j_response["status"] = "success";