OSDN Git Service

update the restore wallet logic, using ed25519.
[bytom/Bytom-JS-SDK.git] / src / api / accounts.js
index 4bf61c2..c9ecedb 100644 (file)
@@ -55,14 +55,13 @@ accountsApi.prototype.copyAccount = function(params) {
 };
 
 /**
- * Vapor API List Wallet.
+ * BYTOM API List Wallet.
  *
  * @param {Object} params - Parameters for Wallet List.
- * @param {String} params.start - start,
- * @param {String} params.limit  - limit
+ * @param {String} params.pubkey  - pubkey
  * @returns {Promise} Array of Object, with Guid, m, n, status, signers.
  */
-accountsApi.prototype.copyAccount = function(params) {
+accountsApi.prototype.listWallets = function(params) {
     return this.http.request('account/list-wallets', params);
 };