Skip to content

Pset output scalar decoding bug. #1065

@sanket1729

Description

@sanket1729

The pset spec says that global scalars PSBT_ELEMENTS_GLOBAL_SCALAR must have value None, but as implemented they have value 0100 (a single vector containing the value zero)

In particular,

SerializeToVector(s, std::vector<unsigned char>());
should directly write 0 instead of SerializeToVector(s, std::vector())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions