From 3fc7032ec33724eb9a79939358db6729fd3d87c2 Mon Sep 17 00:00:00 2001
From: "nicolas.dorier" <nicolas.dorier@gmail.com>
Date: Wed, 17 Jun 2020 16:20:38 +0900
Subject: Fix some formatting

---
 bip-0078.mediawiki | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'bip-0078.mediawiki')

diff --git a/bip-0078.mediawiki b/bip-0078.mediawiki
index 5c06c2f..621e0d9 100644
--- a/bip-0078.mediawiki
+++ b/bip-0078.mediawiki
@@ -249,13 +249,13 @@ The sender should check the payjoin proposal before signing it to prevent a mali
 * If the sender's inputs' sequence numbers are all the same, check that the receiver's contributed inputs match those.
 * If <code>minfeerate</code> was specified, check that the estimated fee rate of the payjoin proposal is not less than this value.
 * Check that outputs from the original PSBT has not been modified except if:
-  * The output can contribute to fee (see below)
-  * The output does not belong to the sender.
+** The output can contribute to fee (see below)
+** The output does not belong to the sender.
 
-If a fee output exists, (ie, <code>maxadditionalfeecontribution=</code> and <code>additionalfeeoutputindex=</code> have been set by the sender), the sender must checks:
-  * The amount that was substracted from the output's value is less or equal to <code>maxadditionalfeecontribution</code>. Let's call this amount <code>actual contribution</code>.
-  * The <code>actual contribution</code> is less or equals to the difference of absolute fee between the payjoin proposal and the original PSBT. (This make sure the contribution actually goes to fee)
-  * The <code>actual contribution</code> is less or equals to <code>originalPSBTFeeRate * vsize(sender_input_type) * (count(original_psbt_inputs) - count(payjoin_proposal_inputs))</code>. (This make sure the contribution only pays for additional inputs, see [[#fee-output|Fee output]] section)
+If a [[#fee-output|fee ouptut]] exists, the sender must checks:
+* The amount that was substracted from the output's value is less or equal to <code>maxadditionalfeecontribution</code>. Let's call this amount <code>actual contribution</code>.
+* Make sure the contribution are only paying fee: The  <code>actual contribution</code> is less or equals to the difference of absolute fee between the payjoin proposal and the original PSBT.
+* Make sure the contribution are only paying for fee incurred by additional inputs: <code>actual contribution</code> is less or equals to <code>originalPSBTFeeRate * vsize(sender_input_type) * (count(original_psbt_inputs) - count(payjoin_proposal_inputs))</code>. (see [[#fee-output|Fee output]] section)
 
 The sender must be careful to only sign the inputs that were present in the original PSBT and nothing else.
 
-- 
cgit v1.2.3

