summaryrefslogtreecommitdiff
path: root/bip-0078.mediawiki
diff options
context:
space:
mode:
authorrage-proof <47944736+rage-proof@users.noreply.github.com>2020-10-29 23:58:50 +0100
committerGitHub <noreply@github.com>2020-10-29 23:58:50 +0100
commit55d37134cf751959839315cb6a2223c376ca8f75 (patch)
tree6938f7effaaad25177fc8eb6567adbf2a0820a79 /bip-0078.mediawiki
parent7e3284dafda168da34888977dbf4a55519b0c54d (diff)
downloadbips-55d37134cf751959839315cb6a2223c376ca8f75.tar.xz
Update bip-0078.mediawiki
the payjoin proposal has more inputs
Diffstat (limited to 'bip-0078.mediawiki')
-rw-r--r--bip-0078.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0078.mediawiki b/bip-0078.mediawiki
index c795343..299d202 100644
--- a/bip-0078.mediawiki
+++ b/bip-0078.mediawiki
@@ -272,7 +272,7 @@ The sender should check the payjoin proposal before signing it to prevent a mali
** If the output is the [[#fee-output|fee output]]:
*** The amount that was substracted from the output's value is less than or equal to <code>maxadditionalfeecontribution</code>. Let's call this amount <code>actual contribution</code>.
*** Make sure the actual contribution is only paying fee: The <code>actual contribution</code> is less than or equals to the difference of absolute fee between the payjoin proposal and the original PSBT.
-*** Make sure the actual contribution is only paying for fee incurred by additional inputs: <code>actual contribution</code> is less than or equals to <code>originalPSBTFeeRate * vsize(sender_input_type) * (count(original_psbt_inputs) - count(payjoin_proposal_inputs))</code>. (see [[#fee-output|Fee output]] section)
+*** Make sure the actual contribution is only paying for fee incurred by additional inputs: <code>actual contribution</code> is less than or equals to <code>originalPSBTFeeRate * vsize(sender_input_type) * (count(payjoin_proposal_inputs) - count(original_psbt_inputs))</code>. (see [[#fee-output|Fee output]] section)
** If the output is the payment output and payment output substitution is allowed.
*** Do not make any check
** Else