Skip to content

Annex is ignored before signing #53

@orkunkilic

Description

@orkunkilic

While preparing the transaction to be signed, annex extractor function expects multiple elements in the stack (such as sig + annex). This is a valid check after the tx is hashed and signed, but the same function also used while hashing the transaction before signing. This causes ignored annex before signing, causing an error when annex is included into witness later.

if (witness.length < 2) return

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions