mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-05 13:25:48 +00:00
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:
@@ -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)
|
* 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
|
* 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
|
* 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
|
### Removed
|
||||||
* RPCs and utils related to the old sidechain design
|
* RPCs and utils related to the old sidechain design
|
||||||
|
|||||||
@@ -91,14 +91,12 @@ export interface AccountInfoResponse extends BaseResponse {
|
|||||||
/**
|
/**
|
||||||
* The AccountRoot ledger object with this account's information, as stored
|
* The AccountRoot ledger object with this account's information, as stored
|
||||||
* in the ledger.
|
* 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
|
account_data: AccountRoot & { signer_lists?: SignerList[] }
|
||||||
/**
|
|
||||||
* 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[]
|
|
||||||
/**
|
/**
|
||||||
* The ledger index of the current in-progress ledger, which was used when
|
* The ledger index of the current in-progress ledger, which was used when
|
||||||
* retrieving this information.
|
* retrieving this information.
|
||||||
|
|||||||
Reference in New Issue
Block a user