diff options
author | chriseth <chris@ethereum.org> | 2018-12-19 06:14:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-19 06:14:47 +0800 |
commit | 5c8483dc8df4d60c950de4a55a3c3f494019e0bb (patch) | |
tree | e3f7b78a160e0a25b18c11a41362114cf82a5e13 | |
parent | eed46f001132d6052c6afe16e6dfb16967571167 (diff) | |
parent | 36dc56fa7727d83e97ba09e512e749d227480367 (diff) | |
download | dexon-solidity-5c8483dc8df4d60c950de4a55a3c3f494019e0bb.tar.gz dexon-solidity-5c8483dc8df4d60c950de4a55a3c3f494019e0bb.tar.zst dexon-solidity-5c8483dc8df4d60c950de4a55a3c3f494019e0bb.zip |
Merge pull request #5684 from ethereum/doc-fix-trivial
Doc: Fix typo "a messy" -> "a mess"
-rw-r--r-- | docs/solidity-by-example.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index d07452c5..0041e80c 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -743,7 +743,7 @@ In general, ECDSA signatures consist of two parameters, ``r`` and ``s``. Signatu Extracting the Signature Parameters ----------------------------------- -Signatures produced by web3.js are the concatenation of ``r``, ``s`` and ``v``, so the first step is to split these parameters apart. You can do this on the client-side, but doing it inside the smart contract means you only need to send one signature parameter rather than three. Splitting apart a byte array into component parts is a messy, so we use `inline assembly <assembly>`_ to do the job in the ``splitSignature`` function (the third function in the full contract at the end of this section). +Signatures produced by web3.js are the concatenation of ``r``, ``s`` and ``v``, so the first step is to split these parameters apart. You can do this on the client-side, but doing it inside the smart contract means you only need to send one signature parameter rather than three. Splitting apart a byte array into component parts is a mess, so we use `inline assembly <assembly>`_ to do the job in the ``splitSignature`` function (the third function in the full contract at the end of this section). Computing the Message Hash -------------------------- |