add explanation about the splitSignature function

This commit is contained in:
João Vítor 2018-06-25 19:06:44 -03:00 committed by GitHub
parent 6ec61e283c
commit 7ffdad4ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1056,7 +1056,8 @@ The full contract
/// does, you can skip it.
/// the same functions we wrote in the 'creating and verifying signatures' chapter,
/// you can go there to find the full explanations
/// you can go there to find the full explanations.
/// please read the notes below this contract.
function splitSignature(bytes sig)
internal
@ -1102,6 +1103,9 @@ The full contract
}
Note: The function *splitSignature* uses the code from the `gist <https://gist.github.com/axic/5b33912c6f61ae6fd96d6c4a47afde6d>`_. In
a real implementation should be used a more tested library, such as the
openzepplin's fork of the original code, `library <https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/ECRecovery.sol>`_.