From 4eeedb08778836ffcf67a29ee9244593b24ed52a Mon Sep 17 00:00:00 2001 From: Isaac Cook Date: Thu, 10 Jan 2019 08:09:56 -0600 Subject: [PATCH] Fix doc dump_stored_tx -> retrieve_stored_tx (#2329) It appears the method call in https://github.com/mimblewimble/grin/blob/master/wallet/src/controller.rs got renamed for consistency and this got missed. --- doc/api/wallet_owner_api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/wallet_owner_api.md b/doc/api/wallet_owner_api.md index 9f2e7d9bb..ab0d92b07 100644 --- a/doc/api/wallet_owner_api.md +++ b/doc/api/wallet_owner_api.md @@ -7,7 +7,7 @@ 1. [GET Retrieve Summary Info](#get-retrieve-summary-info) 1. [GET Node Height](#get-node-height) 1. [GET Retrieve Txs](#get-retrieve-txs) - 1. [GET Dump Stored Tx](#get-dump-stored-tx) + 1. [GET Retrieve Stored Tx](#get-retrieve-stored-tx) 1. [POST Issue Send Tx](#post-issue-send-tx) 1. [POST Finalize Tx](#post-finalize-tx) 1. [POST Cancel Tx](#post-cancel-tx) @@ -253,13 +253,13 @@ Return whether the outputs were validated against a node and an array of TxLogEn }); ``` -### GET Dump Stored Tx +### GET Retrieve Stored Tx Retrieves a given transaction. * **URL** - /v1/wallet/owner/dump_stored_tx?id=x + /v1/wallet/owner/retrieve_stored_tx?id=x * **Method:** @@ -309,7 +309,7 @@ Retrieves a given transaction. ```javascript $.ajax({ - url: "/v1/wallet/owner/dump_stored_tx?id=13", + url: "/v1/wallet/owner/retrieve_stored_tx?id=13", dataType: "json", type : "GET", success : function(r) {