From 9a0ffd280d6ece5fb79b5be4639cf7d4b7e6fe92 Mon Sep 17 00:00:00 2001 From: Mike Milano Date: Wed, 30 May 2018 02:40:34 -0700 Subject: [PATCH] Removed ledger parameter from request The `ledger` parameter is now `ledger_index`, which is optional and defaults to current. This PR removes the `ledger` param from the example requests. I had opened a PR to simply change `ledger` to `ledger_index`, however the conventions of the API docs seem to only use required parameters, so I closed that PR and created this one instead. --- .../public-rippled-methods/account-methods/account_lines.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/content/references/rippled-api/public-rippled-methods/account-methods/account_lines.md b/content/references/rippled-api/public-rippled-methods/account-methods/account_lines.md index f6bef8fd65..d197095672 100644 --- a/content/references/rippled-api/public-rippled-methods/account-methods/account_lines.md +++ b/content/references/rippled-api/public-rippled-methods/account-methods/account_lines.md @@ -15,8 +15,7 @@ An example of the request format: { "id": 1, "command": "account_lines", - "account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", - "ledger": "current" + "account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59" } ``` @@ -27,8 +26,7 @@ An example of the request format: "method": "account_lines", "params": [ { - "account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", - "ledger": "current" + "account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59" } ] }