mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Ledger object - accountState supersedes accounts (#868)
This appears to originate from a mistake in the docs.
The actual name of the field is `accountState`.
See:
9af994ceb4/src/ripple/app/ledger/impl/LedgerToJson.cpp (L167)
* Remove TODOs addressed by docs PR
https://github.com/ripple/ripple-dev-portal/pull/324
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
export interface Ledger {
|
||||
account_hash: string,
|
||||
accounts?: any[],
|
||||
close_time: number,
|
||||
close_time_human: string,
|
||||
close_time_resolution: number,
|
||||
@@ -17,10 +16,7 @@ export interface Ledger {
|
||||
totalCoins?: string,
|
||||
// @deprecated
|
||||
hash?: string,
|
||||
// TODO: undocumented
|
||||
close_flags?: number,
|
||||
// TODO: undocumented
|
||||
parent_close_time?: number,
|
||||
// TODO: undocumented
|
||||
accountState?: any
|
||||
accountState?: any[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user