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:
Elliot Lee
2018-03-19 14:52:18 -07:00
committed by GitHub
parent 27ab98160a
commit 71a0c16fec

View File

@@ -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[]
}