fix handling of false parameters in requestLedger

This commit is contained in:
Matthew Fettig
2015-02-11 14:11:24 -08:00
parent 2abac6ce5c
commit 6023efed41

View File

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