Skip to content

Commit 6023efe

Browse files
committed
fix handling of false parameters in requestLedger
1 parent 2abac6c commit 6023efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/ripple/remote.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ Remote.prototype.requestLedger = function(options, callback) {
862862
case 'expand':
863863
case 'transactions':
864864
case 'accounts':
865-
request.message[o] = true;
865+
request.message[o] = options[o] ? true : false;
866866
break;
867867
case 'ledger':
868868
request.selectLedger(options.ledger);

0 commit comments

Comments
 (0)