You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6cc26f0 Run the formatter (Jamil Lambert, PhD)
b17157e Fix getaddressinfo (Jamil Lambert, PhD)
Pull request description:
The test was marked as TODO and the fields in the structs do not match what is returned by the RPC.
In v20 the return field `labels` changes from a vector of json objects that was modelled as `GetAddressInfoLabel` to a `Vec<String>`. To allow for this make the modelled type a `Vec<String>`, this means for v17-v19 the `name` field is modelled and the `purpose` field of `GetAddressInfoLabel` is not.
- Fix all of the fields in v17.
- Redefine the types for changes in v18, v29, v22 and v28.
- Update the model for to allow for the changes in return types.
- Update the test using different `Address` types to check the inner structs contain expected values.
ACKs for top commit:
tcharding:
ACK 6cc26f0
Tree-SHA512: 52f371b06097e5b832edc1a2c0558329081b11b71cb9319fa72b0b157312ceda33b918d5fb0fb657e19225e1c705e09c84376d1c580d656f41ad7f8f4b6d4dd9
0 commit comments