From 5dced856e2f0a1a1d0d715848c5321564f4b5081 Mon Sep 17 00:00:00 2001 From: pxgamer Date: Tue, 9 Apr 2019 16:51:13 +0100 Subject: [PATCH 1/2] Fix reference to transaction limit in the API --- doc/api_data.js | 2 +- doc/api_data.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api_data.js b/doc/api_data.js index 8a4e33b..067ccac 100644 --- a/doc/api_data.js +++ b/doc/api_data.js @@ -905,7 +905,7 @@ define({ "api": [ "type": "numeric", "optional": true, "field": "limit", - "description": "

Number of confirmed transactions, max 1000, min 1

" + "description": "

Number of confirmed transactions, max 100, min 1

" } ] } diff --git a/doc/api_data.json b/doc/api_data.json index 834cc7e..2a491d7 100644 --- a/doc/api_data.json +++ b/doc/api_data.json @@ -905,7 +905,7 @@ "type": "numeric", "optional": true, "field": "limit", - "description": "

Number of confirmed transactions, max 1000, min 1

" + "description": "

Number of confirmed transactions, max 100, min 1

" } ] } From b3bec0961b9c720fd9e33bb30cc48cd5154b224e Mon Sep 17 00:00:00 2001 From: pxgamer Date: Tue, 9 Apr 2019 17:11:08 +0100 Subject: [PATCH 2/2] Remove limit 1000 reference from ApiDoc comments --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 2765ef5..facad54 100755 --- a/api.php +++ b/api.php @@ -185,7 +185,7 @@ if ($q == "getAddress") { * * @apiParam {string} [public_key] Public key * @apiParam {string} [account] Account id / address - * @apiParam {numeric} [limit] Number of confirmed transactions, max 1000, min 1 + * @apiParam {numeric} [limit] Number of confirmed transactions, max 100, min 1 * * @apiSuccess {string} block Block ID * @apiSuccess {numeric} confirmation Number of confirmations