Skip to content

Commit

Permalink
Fix lint errors in remote.js and pathfind.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Clark committed Aug 12, 2015
1 parent dda9994 commit bf9da80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/core/pathfind.js
Expand Up @@ -11,8 +11,8 @@ const Amount = require('./amount').Amount;
* the 'end' and 'superceded' events.
*/

function PathFind(remote, src_account, dst_account,
dst_amount, src_currencies) {
function PathFind(remote, src_account, dst_account, dst_amount, src_currencies
) {
EventEmitter.call(this);

this.remote = remote;
Expand Down
8 changes: 4 additions & 4 deletions src/core/remote.js
Expand Up @@ -1747,8 +1747,8 @@ Remote.prototype._serverPrepareSubscribe = function(server, callback_) {
const request = this.requestSubscribe(feeds);

function serverSubscribed(message) {
self._stand_alone = !!message.stand_alone;
self._testnet = !!message.testnet;
self._stand_alone = Boolean(message.stand_alone);
self._testnet = Boolean(message.testnet);
self._handleLedgerClosed(message, server);
self.emit('subscribed');
}
Expand Down Expand Up @@ -2294,7 +2294,7 @@ Remote.prototype.requestRipplePathFind = function(options_, callback_) {
destination_account: options_.dst_account,
destination_amount: options_.dst_amount,
source_currencies: options_.src_currencies
}, options_);
}, options_);
} else {
_.merge(options, makeOptions(
'ripple_path_find',
Expand Down Expand Up @@ -2342,7 +2342,7 @@ Remote.prototype.requestPathFindCreate = function(options_, callback_) {
destination_account: options_.dst_account,
destination_amount: options_.dst_amount,
source_currencies: options_.src_currencies
}, options_);
}, options_);
} else {
_.merge(options, makeOptions(
'path_find',
Expand Down

0 comments on commit bf9da80

Please sign in to comment.