mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
fix handling of false parameters in requestLedger
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user