diff --git a/bip-0078.mediawiki b/bip-0078.mediawiki index 49c29e96..08e3129b 100644 --- a/bip-0078.mediawiki +++ b/bip-0078.mediawiki @@ -116,7 +116,7 @@ The payjoin proposal MUST: * Only fill the witnessUTXO or nonWitnessUTXO for the additional inputs. The payjoin proposal MAY: -* Add, remove or modify the outputs belonging to the receiver. +* Add, or replace the outputs belonging to the receiver unless output substitution is disabled. The payjoin proposal SHOULD NOT: * Include mixed input types until September 2024. Mixed inputs were previously completely disallowed so this gives some grace period for senders to update. @@ -329,7 +329,7 @@ On top of this the receiver can poison analysis by randomly faking a round amoun ===Payment output substitution=== -Unless disallowed by sender explicitly via `disableoutputsubstitution=true` or by the BIP21 url via query parameter the `pjos=0`, the receiver is free to decrease the amount, remove, or change the scriptPubKey output paying to himself. +Unless disallowed by sender explicitly via `disableoutputsubstitution=true` or by the BIP21 url via query parameter the `pjos=0`, the receiver is free to decrease the amount, or change the scriptPubKey output paying to himself. Note that if payment output substitution is disallowed, the reveiver can still increase the amount of the output. (See [[#reference-impl|the reference implementation]]) For example, if the sender's scriptPubKey type is P2WPKH while the receiver's payment output in the original PSBT is P2SH, then the receiver can substitute the payment output to be P2WPKH to match the sender's scriptPubKey type.