Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wltsmrz committed Apr 9, 2015
1 parent 5919ea9 commit 3144347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
var _ = require('lodash');
var assert = require('assert');
var async = require('async');
var ripple = require('ripple-lib');
var utils = require('./lib/utils');
var validator = require('./lib/schema-validator');
var validate = require('./lib/validate');
Expand Down Expand Up @@ -251,8 +250,9 @@ function getTransaction(api, account, identifier, requestOptions, callback) {
} else {
options.client_resource_id = identifier;
}
var isLedgerRangeRequest = !_.isUndefined(requestOptions.min_ledger)
&& !_.isUndefined(requestOptions.max_ledger);

var isLedgerRangeRequest = !_.isUndefined(requestOptions.min_ledger)
&& !_.isUndefined(requestOptions.max_ledger);

if (isLedgerRangeRequest) {
var minLedger = Number(requestOptions.min_ledger);
Expand Down

0 comments on commit 3144347

Please sign in to comment.