From 2180c076dd241955a6cae538f2d81972d00daf05 Mon Sep 17 00:00:00 2001 From: Chris Clark Date: Mon, 17 Aug 2015 17:28:16 -0700 Subject: [PATCH] Fix snake case method calls --- src/core/remote.js | 4 ++-- src/core/transactionmanager.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/remote.js b/src/core/remote.js index 5951b8be..dfdd7ee3 100644 --- a/src/core/remote.js +++ b/src/core/remote.js @@ -91,7 +91,7 @@ function Remote(options = {}) { this._books = { }; // Secrets that we know about. - // Secrets can be set by calling set_secret(account, secret). + // Secrets can be set by calling setSecret(account, secret). // account : secret this.secrets = { }; @@ -206,7 +206,7 @@ Remote.TRANSACTION_EVENTS = [ 'transaction_all' ]; -// Flags for ledger entries. In support of account_root(). +// Flags for ledger entries. In support of accountRoot(). Remote.flags = { // AccountRoot account_root: { diff --git a/src/core/transactionmanager.js b/src/core/transactionmanager.js index e15a0af2..099d7309 100644 --- a/src/core/transactionmanager.js +++ b/src/core/transactionmanager.js @@ -534,9 +534,9 @@ TransactionManager.prototype._prepareRequest = function(tx) { // sealed and delivered, and the txn unmodified. // TODO: perhaps an exception should be raised if build_path is attempted // while local signing - submitRequest.build_path(tx._build_path); + submitRequest.buildPath(tx._build_path); submitRequest.secret(tx._secret); - submitRequest.tx_json(tx.tx_json); + submitRequest.txJson(tx.tx_json); } return submitRequest;