We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d9d423 commit c4b4d05Copy full SHA for c4b4d05
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