Skip to content

Commit

Permalink
Typo: preimage -> hash
Browse files Browse the repository at this point in the history
  • Loading branch information
xhliu committed Aug 26, 2019
1 parent 2ad7904 commit 0369f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/multipartyhashpuzzles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extended to multiple parties so that multiple preimages have to be provided such
}
The above solution is problematic when ``N`` is large since all ``N`` preimages have to be included in the locking script, bloating the transaction.
The above solution is problematic when ``N`` is large since all ``N`` hashes have to be included in the locking script, bloating the transaction.
Instead, we can combine all ``y``'s into a single y such that ``y = H(H(y1 || y2) || y3)`` [#]_ as shown below.

.. code-block:: solidity
Expand Down

0 comments on commit 0369f16

Please sign in to comment.