mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 21:15:47 +00:00
Get validated ledger in getSettings and getAccountInfo
This commit is contained in:
@@ -24,7 +24,7 @@ function getAccountInfoAsync(account, options, callback) {
|
||||
|
||||
const request = {
|
||||
account: account,
|
||||
ledger: options.ledgerVersion
|
||||
ledger: options.ledgerVersion || 'validated'
|
||||
};
|
||||
|
||||
this.remote.requestAccountInfo(request,
|
||||
|
||||
@@ -30,7 +30,7 @@ function getSettingsAsync(account, options, callback) {
|
||||
|
||||
const request = {
|
||||
account: account,
|
||||
ledger: options.ledgerVersion
|
||||
ledger: options.ledgerVersion || 'validated'
|
||||
};
|
||||
|
||||
this.remote.requestAccountInfo(request,
|
||||
|
||||
Reference in New Issue
Block a user