Skip to content

Pset output scalar decoding bug. #1065

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())

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

      Issue actions