mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
crypto: fix typo
This commit is contained in:
parent
a9b825b376
commit
dc4c2ae87e
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ func randSig() []byte {
|
||||||
}
|
}
|
||||||
|
|
||||||
// tests for malleability
|
// tests for malleability
|
||||||
// highest bit of signature ECDSA s value must be 0, in the 33th byte
|
// the highest bit of signature ECDSA s value must be 0, in the 33th byte
|
||||||
func compactSigCheck(t *testing.T, sig []byte) {
|
func compactSigCheck(t *testing.T, sig []byte) {
|
||||||
var b = int(sig[32])
|
var b = int(sig[32])
|
||||||
if b < 0 {
|
if b < 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue