Skip to content

witness_v1_taproot is missing in ScriptPubkeyType #6

@Warchant

Description

@Warchant
JsonRpc(
        Json(
            Error("unknown variant `witness_v1_taproot`, expected one of `nonstandard`, `pubkey`, `pubkeyhash`, `scripthash`, `multisig`, `nulldata`, `witness_v0_keyhash`, `witness_v0_scripthash`, `witness_unknown`", line: 1, column: 1580),
        ),
    )

To keep the library future-proof, add Unknown(String) and implement a custom parser, such that if enum variant was not found, then fallback to Unknown(String).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @Warchant

        Issue actions

          witness_v1_taproot is missing in ScriptPubkeyType · Issue #6 · sapio-lang/rust-bitcoincore-rpc-async