From 7ffdad4ae36042d81d0d8738e6f915648bc8fb44 Mon Sep 17 00:00:00 2001 From: João Vítor Date: Mon, 25 Jun 2018 19:06:44 -0300 Subject: add explanation about the splitSignature function --- docs/solidity-by-example.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/solidity-by-example.rst') diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst index e55b11b1..5f09446b 100644 --- a/docs/solidity-by-example.rst +++ b/docs/solidity-by-example.rst @@ -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 `_. In +a real implementation should be used a more tested library, such as the +openzepplin's fork of the original code, `library `_. -- cgit