Merge pull request #499 from clark800/validated-ledger

Get validated ledger in getSettings and getAccountInfo
This commit is contained in:
Chris Clark
2015-08-13 13:20:55 -07:00
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,