Skip to content

Require an explicit sighash or default to SIGHASH_ALL  #133

@ulrichard

Description

@ulrichard

I fail to get a transaction signed for a multisig P2WSH-P2SH wallet.
To illustrate what I am trying to do, I created a test at the bottom of:
https://github.com/ulrichard/bdk/blob/sign_multi_p2wsh_p2sh/src/wallet/mod.rs
When I debug into the sign function, it fails in ComputeSighash for Legacy with MissingSighash.
Am I doing something wrong, or is this a bug in bdk?
If something is missing in bdk, I am willing to give it a try implementing it. But I would need some guidance for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions