We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f73cd3a commit 4afabb4Copy full SHA for 4afabb4
1 file changed
README.md
@@ -97,7 +97,7 @@ function getPrivateKey () {
97
98
// generate private and public keys
99
const privKey = getPrivateKey()
100
-const pubKey = secp256k1.publicKeyCreate(getPrivateKey())
+const pubKey = secp256k1.publicKeyCreate(privKey)
101
102
// compressed public key from X and Y
103
function hashfn (x, y) {
0 commit comments