fix: fix the location of signer_lists in the account_info response (#2295)

* fix account_info signer_list type

* update history
This commit is contained in:
Mayukha Vadari
2023-05-01 12:34:44 -04:00
committed by GitHub
parent 2442ef1415
commit 9131ab2515
2 changed files with 6 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
* Fixed `ServerState.transitions` typing, it is now a string instead of a number. (Only used in return from `server_state` request)
* Added `destination_amount` to `PathOption` which is returned as part of a `path_find` request
* Removed the `decode(encode(tx)) == tx` check from the wallet signing process
* Fixed the location of `signer_lists` in the `account_info` response so that it matches rippled
### Removed
* RPCs and utils related to the old sidechain design

View File

@@ -91,14 +91,12 @@ export interface AccountInfoResponse extends BaseResponse {
/**
* The AccountRoot ledger object with this account's information, as stored
* in the ledger.
* If requested, also includes Array of SignerList ledger objects
* associated with this account for Multi-Signing. Since an account can own
* at most one SignerList, this array must have exactly one member if it is
* present.
*/
account_data: AccountRoot
/**
* Array of SignerList ledger objects associated with this account for
* Multi-Signing. Since an account can own at most one SignerList, this
* array must have exactly one member if it is present.
*/
signer_lists?: SignerList[]
account_data: AccountRoot & { signer_lists?: SignerList[] }
/**
* The ledger index of the current in-progress ledger, which was used when
* retrieving this information.