Skip to content

Blinded PSET incompatibility with elementsd #101

@pavel-kokolemin

Description

@pavel-kokolemin

When I create and blind PSET with two or more outputs the result can't be loaded in elementsd:

elements-cli analyzepsbt $(cat pset.txt)
error code: -22
error message:
TX decode failed Size of value was not the stated size: iostream error

I'm attaching small rust program to reproduce the issue and resulted PSET:
pset.txt
pset_test.zip
Same program generates valid PSET when there is only one output.

I tested with latest release (0.21.0) and latest dev version of elements (commit 04cedf3f6be9e8eeb76af6206656ad2516d16f5a) and
latest rust-elements (commit 53d5729f8cdc3623f9f110edba86aeaa9059af5b).
I don't know if the issue on elements or rust-elements side.

Thank you for the very good library!

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