We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b2c1e commit dd4e955Copy full SHA for dd4e955
crypto/crypto.go
@@ -45,7 +45,7 @@ const RecoveryIDOffset = 64
45
const DigestLength = 32
46
47
var (
48
- secp256k1N, _ = new(big.Int).SetString("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141", 16)
+ secp256k1N = S256().Params().N
49
secp256k1halfN = new(big.Int).Div(secp256k1N, big.NewInt(2))
50
)
51
0 commit comments