From c69c3c258db416b57ce3db98723cef57cfc5facf Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 30 Oct 2014 14:43:36 -0700 Subject: [PATCH] rename methods. --- lib/bitcoind.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/bitcoind.js b/lib/bitcoind.js index edb29b60..a6aad13b 100644 --- a/lib/bitcoind.js +++ b/lib/bitcoind.js @@ -729,7 +729,8 @@ Wallet.prototype.sendFrom = function(options) { return bitcoindjs.walletSendFrom(options || {}); }; -Wallet.prototype.listTransactions = function(options) { +Wallet.prototype.listTransactions = +Wallet.prototype.getTransactions = function(options) { return bitcoindjs.walletListTransactions(options || {}); }; @@ -737,7 +738,8 @@ Wallet.prototype.receivedByAddress = function(options) { return bitcoindjs.walletReceivedByAddress(options || {}); }; -Wallet.prototype.listAccounts = function(options) { +Wallet.prototype.listAccounts = +Wallet.prototype.getAccounts = function(options) { return bitcoindjs.walletListAccounts(options || {}); };