]> git.codecow.com Git - libnemo.git/commitdiff
Fix documentation.
authorChris Duncan <chris@zoso.dev>
Mon, 15 Dec 2025 16:35:23 +0000 (08:35 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 15 Dec 2025 16:35:23 +0000 (08:35 -0800)
src/lib/crypto/secp256k1.ts

index 73ea0eaf414a42a9da09ac72624a628118fc6e24..1bb198d792c070959521b9a6be21dc52a6255ffb 100644 (file)
@@ -30,7 +30,7 @@ type AffinePoint = {
 export class Secp256k1 {
        /**
         * Curve params. secp256k1 is short weierstrass / koblitz curve. Equation is y² == x³ + ax + b.
-        * * P = `2n**256n-2n**32n-2n**977n` // field over which calculations are done
+        * * P = `2n**256n - 2n**32n - 977n` // field over which calculations are done
         * * N = `2n**256n - 0x14551231950b75fc4402da1732fc9bebfn` // group order, amount of curve points
         * * h = `1n` // cofactor
         * * a = `0n` // equation param