Skip to content

It is basically impossible to get a LeafHash from a Tr descriptor to sign it #739

Open
@apoelstra

Description

@apoelstra

Unless I am crazy you need to iterate through the TapTree, convert the miniscripts to Script with Miniscript::encode, then call Script::taproot_leaf_hash on that.

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