mirror of https://github.com/poanetwork/quorum.git
crypto: restore func ValidateSignatureValues from previous quorum version as there are custom changes specific to quorum
This commit is contained in:
parent
648465f192
commit
22996be272
|
@ -191,7 +191,7 @@ func ValidateSignatureValues(v byte, r, s *big.Int, homestead bool) bool {
|
|||
return false
|
||||
}
|
||||
// Frontier: allow s to be in full N range
|
||||
return r.Cmp(secp256k1N) < 0 && s.Cmp(secp256k1N) < 0 && (v == 0 || v == 1)
|
||||
return r.Cmp(secp256k1N) < 0 && s.Cmp(secp256k1N) < 0 && (v == 0 || v == 1 || v == 10 || v == 11)
|
||||
}
|
||||
|
||||
func PubkeyToAddress(p ecdsa.PublicKey) common.Address {
|
||||
|
|
Loading…
Reference in New Issue