mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
ecrecover takes uint8, not byte
This commit is contained in:
parent
02bb315d94
commit
3dbb8ad92a
@ -94,7 +94,7 @@ Mathematical and Cryptographic Functions
|
|||||||
compute the SHA-256 hash of the (tightly packed) arguments
|
compute the SHA-256 hash of the (tightly packed) arguments
|
||||||
`ripemd160(...) returns (bytes20)`:
|
`ripemd160(...) returns (bytes20)`:
|
||||||
compute RIPEMD-160 hash of the (tightly packed) arguments
|
compute RIPEMD-160 hash of the (tightly packed) arguments
|
||||||
`ecrecover(bytes32, byte, bytes32, bytes32) returns (address)`:
|
`ecrecover(bytes32, uint8, bytes32, bytes32) returns (address)`:
|
||||||
recover public key from elliptic curve signature - arguments are (data, v, r, s)
|
recover public key from elliptic curve signature - arguments are (data, v, r, s)
|
||||||
|
|
||||||
In the above, "tightly packed" means that the arguments are concatenated without padding.
|
In the above, "tightly packed" means that the arguments are concatenated without padding.
|
||||||
|
Loading…
Reference in New Issue
Block a user