Skip to content

getaddressifo is untested #57

Open
@tcharding

Description

@tcharding

Something is wrong with the pubkeys field of the getaddressinfo method.

The Core v17 docs for it are

  "pubkeys"                     (string, optional) Array of pubkeys associated with the known redeemscript (only if "script" is "multisig")
    [
      "pubkey"
      ,...
    ]

And we have an Option<Vec<String>> type for the field. It was suggested that we may need #[serde(default)] but I tried that to no avail. I also wondered if the docs were wrong and tried Option<String>.

In intergration_test we have a test that is feature gated out with #[cfg(feature = "TODO")] (search for get_address_info).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions