Fix snake case method calls

This commit is contained in:
Chris Clark
2015-08-17 17:28:16 -07:00
parent 39ac6caaef
commit 2180c076dd
2 changed files with 4 additions and 4 deletions

View File

@@ -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: {

View File

@@ -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;