Skip to content

Commit

Permalink
fix handling of false parameters in requestLedger
Browse files Browse the repository at this point in the history
  • Loading branch information
shekenahglory committed Feb 11, 2015
1 parent 2abac6c commit 6023efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/ripple/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ Remote.prototype.requestLedger = function(options, callback) {
case 'expand':
case 'transactions':
case 'accounts':
request.message[o] = true;
request.message[o] = options[o] ? true : false;
break;
case 'ledger':
request.selectLedger(options.ledger);
Expand Down

0 comments on commit 6023efe

Please sign in to comment.