paritytech / libsecp256k1

Pure Rust Implementation of secp256k1.
Apache License 2.0
176 stars 84 forks source link

Ethereum Recovery ID range Update #155

Open QiLOL opened 4 weeks ago

QiLOL commented 4 weeks ago

The Ethereum should only accept 27/28 for signature based on the whitepaper, instead of [27,28,29,30]

reference: https://github.com/ethereum/yellowpaper/pull/860 https://ethereum.github.io/yellowpaper/paper.pdf

image