Skip to content

pjos=0 bool value inverts the BIP78 spec #545

Closed

Description

@spacebear21

BIP78 states:

pjos=0: Signal to the sender that they MUST disallow payment output substitution. (See Unsecured payjoin server)

But our implementation does the inverse, and sets pjos to 1 when disabling output substitution!

            ("pjos", if self.disable_output_substitution { "1" } else { "0" }.to_string()),

This should be fixed to follow the spec (and tested properly).

Activity

  1. added
    bug
    good first issue
    on Feb 20, 2025
  2. added a commit that references this issue on Mar 24, 2025
    f5982cf
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

    buggood first issue

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions