Skip to content

PayjoinProposal typestate is leaky #73

Description

@DanGould

prepare_psbt requires no changes be done to the internal psbt after apply_fee is called. These two should be separated into something like ProvisionalProposal, from which inputs/outputs can be changed until apply_fee is called, which returns PayjoinProposal from which the Payjoin Proposal PSBT can be extracted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apibugSomething isn't workingenhancementNew feature or requestreceivereceiving payjoin

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions