mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Merge pull request #510 from clark800/underscore-fixes
Fix snake case method calls
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user