Skip to content

Commit 0cb0d36

Browse files
authored
[Trivial] Fix word repetition
* changes modifies -> modifies * index of of -> index of
1 parent 111e427 commit 0cb0d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bip-0069.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ N.B. All comparisons do not need to operate in constant time since they are not
7878

7979
===Transaction Inputs===
8080

81-
Transaction inputs are defined by the hash of a previous transaction, the output index of of a UTXO from that previous transaction, the size of an unlocking script, the unlocking script, and a sequence number. [3]
81+
Transaction inputs are defined by the hash of a previous transaction, the output index of a UTXO from that previous transaction, the size of an unlocking script, the unlocking script, and a sequence number. [3]
8282
For sorting inputs, the hash of the previous transaction and the output index within that transaction are sufficient for sorting purposes; each transaction hash has an extremely high probability of being unique in the blockchain — this is enforced for coinbase transactions by BIP30 — and output indices within a transaction are unique.
8383
For the sake of efficiency, transaction hashes should be compared first before output indices, since output indices from different transactions are often equivalent, while all bytes of the transaction hash are effectively random variables.
8484

@@ -87,7 +87,7 @@ In the event of two matching transaction hashes, the respective previous output
8787
If the previous output indices match, the inputs are considered equal.
8888

8989
Transaction malleability will not negatively impact the correctness of this process.
90-
Even if a wallet client follows this process using unconfirmed UTXOs as inputs and an attacker changes modifies the blockchain’s record of the hash of the previous transaction, the wallet client will include the invalidated previous transaction hash in its input data, and will still correctly sort with respect to that invalidated hash.
90+
Even if a wallet client follows this process using unconfirmed UTXOs as inputs and an attacker modifies the blockchain’s record of the hash of the previous transaction, the wallet client will include the invalidated previous transaction hash in its input data, and will still correctly sort with respect to that invalidated hash.
9191

9292
===Transaction Outputs===
9393

0 commit comments

Comments
 (0)