getSettings: allow ledgerVersion to be validated, closed, or current (#1298)

This commit is contained in:
Elliot Lee
2020-10-16 14:45:53 -07:00
committed by GitHub
parent 0a4c28f799
commit a4782764dd

View File

@@ -9,7 +9,7 @@ import {Settings} from '../common/constants'
const AccountFlags = constants.AccountFlags
export type SettingsOptions = {
ledgerVersion?: number
ledgerVersion?: number | 'validated' | 'closed' | 'current'
}
export function parseAccountFlags(