[BIP78](https://github.com/bitcoin/bips/blob/master/bip-0078.mediawiki#bip21-payjoin-parameters) states: > pjos=0: Signal to the sender that they MUST disallow [payment output substitution](https://github.com/bitcoin/bips/blob/master/bip-0078.mediawiki#output-substitution). (See [Unsecured payjoin server](https://github.com/bitcoin/bips/blob/master/bip-0078.mediawiki#unsecured-payjoin)) But our implementation [does the inverse](https://github.com/payjoin/rust-payjoin/blob/master/payjoin/src/uri/mod.rs#L131), and sets `pjos` to **1** when disabling output substitution! ```rust ("pjos", if self.disable_output_substitution { "1" } else { "0" }.to_string()), ``` This should be fixed to follow the spec (and tested properly).
Activity
Correct the pjos parameter parity (payjoin#546)