Get validated ledger in getSettings and getAccountInfo

This commit is contained in:
Chris Clark
2015-08-12 15:58:47 -07:00
parent 002102ce62
commit 7fc6adb776
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ function getAccountInfoAsync(account, options, callback) {
const request = {
account: account,
ledger: options.ledgerVersion
ledger: options.ledgerVersion || 'validated'
};
this.remote.requestAccountInfo(request,

View File

@@ -30,7 +30,7 @@ function getSettingsAsync(account, options, callback) {
const request = {
account: account,
ledger: options.ledgerVersion
ledger: options.ledgerVersion || 'validated'
};
this.remote.requestAccountInfo(request,