add Available since 4.1 comments

(cherry picked from commit 9a698e6b7b)
This commit is contained in:
Hadrien Croubois
2021-04-19 20:55:16 +02:00
parent 915109b2c4
commit df7996b671
13 changed files with 24 additions and 2 deletions

View File

@ -31,7 +31,7 @@ library ECDSA {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.