Skip to content

Commit eb2a4a8

Browse files
authored
Merge pull request #92 from florent-uzio/fix/signerLists
Fix "account_info" request field: "signer_lists"
2 parents bf3cdc7 + dfbde24 commit eb2a4a8

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [v0.1.2]
9+
10+
### Fixed
11+
12+
#### xrpl
13+
14+
- The `InfoRequest` for the `account_info` method had an incorrect field `signer_list` (an `s` was missing). The correct field is now `signer_lists`.
15+
Link to the documentation [here](https://xrpl.org/docs/references/http-websocket-apis/public-api-methods/account-methods/account_info#request-format).
16+
817
## [v0.1.1]
918

1019
### Added

xrpl/queries/account/info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type InfoRequest struct {
1919
LedgerIndex common.LedgerSpecifier `json:"ledger_index,omitempty"`
2020
LedgerHash common.LedgerHash `json:"ledger_hash,omitempty"`
2121
Queue bool `json:"queue,omitempty"`
22-
SignerList bool `json:"signer_list,omitempty"`
22+
SignerLists bool `json:"signer_lists,omitempty"`
2323
Strict bool `json:"strict,omitempty"`
2424
}
2525

xrpl/queries/account/info_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ func TestAccountInfoRequest(t *testing.T) {
1515
Account: "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
1616
LedgerIndex: common.Closed,
1717
Queue: true,
18-
SignerList: false,
18+
SignerLists: false,
1919
Strict: true,
2020
}
2121

22-
// SignerList assigned to default, omitted due to omitempty
22+
// SignerLists assigned to default, omitted due to omitempty
2323
j := `{
2424
"account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
2525
"ledger_index": "closed",

0 commit comments

Comments
 (0)